>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.14.1-r1) started Tue, 29 Oct 2024 20:53:49 +0000 >>> lua-luv: Validating /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/16) Installing libbz2 (1.0.8-r6) (2/16) Installing xz-libs (5.6.3-r0) (3/16) Installing libarchive (3.7.7-r0) (4/16) Installing rhash-libs (1.4.4-r0) (5/16) Installing libuv (1.49.2-r0) (6/16) Installing cmake (3.30.5-r0) (7/16) Installing libuv-dev (1.49.2-r0) (8/16) Installing lua-compat53-dev (0.13-r0) (9/16) Installing samurai (1.2-r6) (10/16) Installing luajit (2.1_p20240314-r0) (11/16) Installing luajit-dev (2.1_p20240314-r0) (12/16) Installing lua5.1-libs (5.1.5-r13) (13/16) Installing lua5.1 (5.1.5-r13) (14/16) Installing lua5.1-dev (5.1.5-r13) (15/16) Installing lua5.4-dev (5.4.7-r0) (16/16) Installing .makedepends-lua-luv (20241029.205355) Executing busybox-1.37.0-r3.trigger OK: 312 MiB in 117 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.21/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.3:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/v3.21/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/v3.21/lua-luv-1.45.0-0.tar.gz.part' saved >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/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/v3.21/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 14.2.0 -- 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 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 14.2.0 -- 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.7") -- 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 14.2.0 -- 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 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 14.2.0 -- 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 static library libluv.a [4/4] Linking C shared module luv.so >>> 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: 0xf7e03bb0 "closed" uv_timer_t: 0xf7e03bb0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7e03c10 "closed" { } uv_timer_t: 0xf7e03c10 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-21-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-21-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 = 71626074, mtime = table: 0xf7e149d0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7e14970, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7e14a00, birthtime = table: 0xf7e14a60, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { nlink = 1, ino = 71626074, mtime = table: 0xf7df9ea0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7df9e70, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7df9ed0, birthtime = table: 0xf7df9f00, 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: 0xf7e41f98 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 = 56316501, type = 61267, bsize = 4096, files = 116916224, bfree = 79703739, ffree = 106909002, blocks = 460041184 } ok 41 fs - fs.statfs sync { bavail = 56316501, type = 61267, bsize = 4096, files = 116916224, bfree = 79703739, ffree = 106909002, 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 = 78082, version_string = "1.49.2" } ok 58 misc - uv.version and uv.version_string { rss = 1425408, total = 269265448960, free = 252281249792, constrained = 9.2233720368548e+18, available = 252281249792 } ok 59 misc - memory size { uptime = 11709706 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 412336, sec = 0 }, oublock = 72, stime = { usec = 244171, sec = 0 }, nivcsw = 2, minflt = 690, idrss = 0, majflt = 0, nvcsw = 61, isrss = 0, nswap = 0, maxrss = 1808, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { speed = 0, times = table: 0xf7e14880, model = "unknown" }, { speed = 0, times = table: 0xf7e14a00, model = "unknown" }, { speed = 0, times = table: 0xf7e153c0, model = "unknown" }, { speed = 0, times = table: 0xf7e15480, model = "unknown" }, { speed = 0, times = table: 0xf7e15540, model = "unknown" }, { speed = 0, times = table: 0xf7e15630, model = "unknown" }, { speed = 0, times = table: 0xf7df7470, model = "unknown" }, { speed = 0, times = table: 0xf7df7590, model = "unknown" }, { speed = 0, times = table: 0xf7df77a0, model = "unknown" }, { speed = 0, times = table: 0xf7e124b0, model = "unknown" }, { speed = 0, times = table: 0xf7e125d0, model = "unknown" }, { speed = 0, times = table: 0xf7e126f0, model = "unknown" }, { speed = 0, times = table: 0xf7dfaf80, model = "unknown" }, { speed = 0, times = table: 0xf7dfb190, model = "unknown" }, { speed = 0, times = table: 0xf7dfb250, model = "unknown" }, { speed = 0, times = table: 0xf7dfa860, model = "unknown" }, { speed = 0, times = table: 0xf7dfaa40, model = "unknown" }, { speed = 0, times = table: 0xf7e13fb0, model = "unknown" }, { speed = 0, times = table: 0xf7e14160, model = "unknown" }, { speed = 0, times = table: 0xf7e14220, model = "unknown" }, { speed = 0, times = table: 0xf7e12030, model = "unknown" }, { speed = 0, times = table: 0xf7e12180, model = "unknown" }, { speed = 0, times = table: 0xf7e122d0, model = "unknown" }, { speed = 0, times = table: 0xf7e4c520, model = "unknown" }, { speed = 0, times = table: 0xf7e4c700, model = "unknown" }, { speed = 0, times = table: 0xf7e23500, model = "unknown" }, { speed = 0, times = table: 0xf7df80a0, model = "unknown" }, { speed = 0, times = table: 0xf7df81f0, model = "unknown" }, { speed = 0, times = table: 0xf7df8340, model = "unknown" }, { speed = 0, times = table: 0xf7e13800, model = "unknown" }, { speed = 0, times = table: 0xf7e138f0, model = "unknown" }, { speed = 0, times = table: 0xf7e139b0, model = "unknown" }, { speed = 0, times = table: 0xf7e133e0, model = "unknown" }, { speed = 0, times = table: 0xf7e13500, model = "unknown" }, { speed = 0, times = table: 0xf7e136b0, model = "unknown" }, { speed = 0, times = table: 0xf7df9c60, model = "unknown" }, { speed = 0, times = table: 0xf7df9d80, model = "unknown" }, { speed = 0, times = table: 0xf7df9e40, model = "unknown" }, { speed = 0, times = table: 0xf7df9f00, model = "unknown" }, { speed = 0, times = table: 0xf7dfa020, model = "unknown" }, { speed = 0, times = table: 0xf7dfa170, model = "unknown" }, { speed = 0, times = table: 0xf7dfa2c0, model = "unknown" }, { speed = 0, times = table: 0xf7e15840, model = "unknown" }, { speed = 0, times = table: 0xf7e41830, model = "unknown" }, { speed = 0, times = table: 0xf7e41a40, model = "unknown" }, { speed = 0, times = table: 0xf7e16680, model = "unknown" }, { speed = 0, times = table: 0xf7e16890, model = "unknown" }, { speed = 0, times = table: 0xf7e169e0, model = "unknown" }, { speed = 0, times = table: 0xf7e26bf0, model = "unknown" }, { speed = 0, times = table: 0xf7e26e30, model = "unknown" }, { speed = 0, times = table: 0xf7e381e0, model = "unknown" }, { speed = 0, times = table: 0xf7e38330, model = "unknown" }, { speed = 0, times = table: 0xf7e37a60, model = "unknown" }, { speed = 0, times = table: 0xf7df7c20, model = "unknown" }, { speed = 0, times = table: 0xf7e39b60, model = "unknown" }, { speed = 0, times = table: 0xf7e39e30, model = "unknown" }, { speed = 0, times = table: 0xf7e37c70, model = "unknown" }, { speed = 0, times = table: 0xf7e37ee0, model = "unknown" }, { speed = 0, times = table: 0xf7e43db0, model = "unknown" }, { speed = 0, times = table: 0xf7e101a0, model = "unknown" }, { speed = 0, times = table: 0xf7e177f0, model = "unknown" }, { speed = 0, times = table: 0xf7e17940, model = "unknown" }, { speed = 0, times = table: 0xf7e24d30, model = "unknown" }, { speed = 0, times = table: 0xf7e24eb0, model = "unknown" }, { speed = 0, times = table: 0xf7e4c940, model = "unknown" }, { speed = 0, times = table: 0xf7e4ee00, model = "unknown" }, { speed = 0, times = table: 0xf7e268c0, model = "unknown" }, { speed = 0, times = table: 0xf7e41d70, model = "unknown" }, { speed = 0, times = table: 0xf7e41ec0, model = "unknown" }, { speed = 0, times = table: 0xf7e55cb0, model = "unknown" }, { speed = 0, times = table: 0xf7df8fd0, model = "unknown" }, { speed = 0, times = table: 0xf7df9210, model = "unknown" }, { speed = 0, times = table: 0xf7dfb310, model = "unknown" }, { speed = 0, times = table: 0xf7dfb3d0, model = "unknown" }, { speed = 0, times = table: 0xf7dfb4c0, model = "unknown" }, { speed = 0, times = table: 0xf7e25c60, model = "unknown" }, { speed = 0, times = table: 0xf7e25e10, model = "unknown" }, { speed = 0, times = table: 0xf7e39380, model = "unknown" }, { speed = 0, times = table: 0xf7e17b80, model = "unknown" }, { speed = 0, times = table: 0xf7e14850, 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>›o)", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.27.144" }, { mac = "\0>›o)", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "2a02:168:a077:701:216:3eff:fe9b:6f29" }, { mac = "\0>›o)", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe9b:6f29" } } ok 64 misc - uv.interface_addresses { 28.28, 24.3, 31.89 } 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 1.1709706009786e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.90-0-lts", machine = "armv8l", version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1730235252 uv.gettimeofday 1730235252.000849 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 = 16375005, sec = 11709707 } nil "realtime" { nsec = 16396445, sec = 11709707 } 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: 0xf7e16c70 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7e04950 "timeout" uv_timer_t: 0xf7e03f70 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7e04cd0 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: 0xf7e21f40, pid = 69220 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7e1eaa0, pid = 69221 } "exit" uv_process_t: 0xf7e1eaa0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7e1f060, pid = 69222 } "exit" uv_process_t: 0xf7e1f060 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7e1f600, pid = 69224 } "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 = 69226, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 42977, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e33520 } { req = uv_connect_t: 0xf7e32658, client = uv_tcp_t: 0xf7e33d90 } "server on connection" uv_tcp_t: 0xf7e33520 "client on connect" uv_tcp_t: 0xf7e33d90 nil "client on shutdown" uv_tcp_t: 0xf7e33d90 nil "client on close" uv_tcp_t: 0xf7e33d90 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 45935, ip = "::1" }, server = uv_tcp_t: 0xf7e501c0 } { req = uv_connect_t: 0xf7e21fa8, client = uv_tcp_t: 0xf7e50370 } "server on connection" uv_tcp_t: 0xf7e501c0 "client on connect" uv_tcp_t: 0xf7e50370 nil "client on shutdown" uv_tcp_t: 0xf7e50370 nil "client on close" uv_tcp_t: 0xf7e50370 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 44139, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e50ac0 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7df41c0 } "client onwrite" uv_tcp_t: 0xf7df41c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 42733, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7df4490 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7df46d0 } "client onwrite" uv_tcp_t: 0xf7df46d0 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 = 44775, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7df49a0 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7df4c70 } "client onwrite" uv_tcp_t: 0xf7df4c70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 39833, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7df4e20 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7e52010 } "client onwrite" uv_tcp_t: 0xf7e52010 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 38705, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e52400 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7e529a0 } "client onwrite" uv_tcp_t: 0xf7e529a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 34555, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e53250 } { req = uv_write_t: 0xf7e4cec8, socket = uv_tcp_t: 0xf7e53370 } "client onwrite" uv_tcp_t: 0xf7e53370 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: 0xf5dd7d84 { delay = 100, elapsed = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f59f34 Runing uv_thread_t: 0xf7f59f34 { 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: 0xf7e03df0 "closed" uv_timer_t: 0xf7e03df0 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7e03e50 "interval" uv_timer_t: 0xf7e03e50 "interval" uv_timer_t: 0xf7e03e50 "closed" uv_timer_t: 0xf7e03e50 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7e03f10 "timeout" uv_timer_t: 0xf7e03eb0 "interval" uv_timer_t: 0xf7e03f10 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7e03f70 0 "interval" uv_timer_t: 0xf7e03f70 8 "interval" uv_timer_t: 0xf7e03f70 4 "interval" uv_timer_t: 0xf7e03f70 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7e10980 0 "interval" uv_timer_t: 0xf7e10980 8 "interval" uv_timer_t: 0xf7e10980 4 "interval" uv_timer_t: 0xf7e10980 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7dfcea0 } { req = 0, client = uv_udp_t: 0xf7dfcfa0 } "client on send" uv_udp_t: 0xf7dfcfa0 nil "server on recv" uv_udp_t: 0xf7dfcea0 "PING" { family = "inet", port = 43491, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7dfcea0 "client on close" uv_udp_t: 0xf7dfcfa0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7dfd290 } { req = 0, client = uv_udp_t: 0xf7dfd390 } "client on send" uv_udp_t: 0xf7dfd390 nil "server on recv" uv_udp_t: 0xf7dfd290 "PING" { family = "inet", port = 39651, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7dfd290 "client on close" uv_udp_t: 0xf7dfd390 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7dfd680 } { req = 0, client = uv_udp_t: 0xf7dfd780 } "client on send" uv_udp_t: 0xf7dfd780 nil "server on recv" uv_udp_t: 0xf7dfd680 "PING" { family = "inet6", port = 46498, ip = "::1" } { } "server on close" uv_udp_t: 0xf7dfd680 "client on close" uv_udp_t: 0xf7dfd780 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: 0xf7dfe250 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7dfe250 "PING" { family = "inet", port = 48782, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dfe250 "PING" { family = "inet", port = 54633, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dfe250 "PING" { family = "inet", port = 54633, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dfe250 nil nil { } "server on recv" uv_udp_t: 0xf7dfe250 "PING" { family = "inet", port = 37349, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7dfe2d0 "server on close" uv_udp_t: 0xf7dfe250 ok 130 udp - udp connect "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, ip = "127.0.0.1" } "PING" { family = "inet", port = 34290, 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: 0xf65dad84" "hello" uv_thread_t: 0xf65dad84 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: 0xf7cff3c0 "closed" uv_timer_t: 0xf7cff3c0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7cff420 "closed" { } uv_timer_t: 0xf7cff420 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 { { protocol = "tcp", socktype = "stream", family = "inet6", port = 80, addr = "::1" }, { protocol = "tcp", socktype = "stream", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { protocol = "tcp", socktype = "stream", family = "inet6", port = 80, addr = "::1" }, { protocol = "tcp", socktype = "stream", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001" }, { protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { 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 = "2604:a880:400:d0::1b9f:2001" }, { protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" }, { protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io", 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-21-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-21-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 = { mtime = table: 0xf7d08540, blksize = 4096, ino = 71626074, uid = 1000, type = "file", ctime = table: 0xf7d07fa0, rdev = 0, gid = 1000, gen = 0, blocks = 16, atime = table: 0xf7d08510, birthtime = table: 0xf7d08060, dev = 64769, nlink = 1, size = 6060, flags = 0, mode = 33188 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { mtime = table: 0xf7d0b300, blksize = 4096, ino = 71626074, uid = 1000, type = "file", ctime = table: 0xf7d0b4b0, rdev = 0, gid = 1000, gen = 0, blocks = 16, atime = table: 0xf7d0b2d0, birthtime = table: 0xf7d0b4e0, dev = 64769, nlink = 1, size = 6060, flags = 0, mode = 33188 } } { 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: 0xf7d24aa8 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 = 79703726, type = 61267, blocks = 460041184, ffree = 106909002, bavail = 56316488, files = 116916224, bsize = 4096 } ok 41 fs - fs.statfs sync { bfree = 79703726, type = 61267, blocks = 460041184, ffree = 106909002, bavail = 56316488, files = 116916224, bsize = 4096 } 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.49.2", version = 78082 } ok 58 misc - uv.version and uv.version_string { available = 252736180224.0, total = 269265448960.0, rss = 1437696, constrained = 9.2233720368548e+18, free = 252736180224.0 } ok 59 misc - memory size { uptime = 11709714.42 } ok 60 misc - uv.uptime { inblock = 0, nvcsw = 66, nsignals = 0, nswap = 0, maxrss = 1680, ixrss = 0, minflt = 635, msgsnd = 0, utime = { sec = 0, usec = 399002 }, msgrcv = 0, stime = { sec = 0, usec = 238939 }, oublock = 72, nivcsw = 2, majflt = 0, idrss = 0, isrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf7d0b7b0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0b8d0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0ba50, model = "unknown", speed = 0.0 }, { times = table: 0xf7d08420, model = "unknown", speed = 0.0 }, { times = table: 0xf7d08510, model = "unknown", speed = 0.0 }, { times = table: 0xf7d26930, model = "unknown", speed = 0.0 }, { times = table: 0xf7d400a0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d25ca0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d25f10, model = "unknown", speed = 0.0 }, { times = table: 0xf7d07fa0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d08150, model = "unknown", speed = 0.0 }, { times = table: 0xf7d302b0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d2f230, model = "unknown", speed = 0.0 }, { times = table: 0xf7d16030, model = "unknown", speed = 0.0 }, { times = table: 0xf7d16150, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0b300, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0b4e0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d31f90, model = "unknown", speed = 0.0 }, { times = table: 0xf7d38660, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0a370, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0a4c0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0a520, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c680, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c6e0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c740, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c7a0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c800, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c860, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c8c0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c920, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c980, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0c9e0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0ca70, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cad0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cb30, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cb90, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cbf0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cc50, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0ccb0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cd10, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cd70, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cdd0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0ce60, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cec0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cf20, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cf80, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0cfe0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d040, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d0a0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d100, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d160, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d1c0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d250, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d2b0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d310, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d370, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d3d0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d430, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d490, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d4f0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d550, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d5b0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d640, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d6a0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d700, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d760, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d7c0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d820, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d880, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d8e0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d940, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0d9a0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0da30, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0da90, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0daf0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0db50, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0dbb0, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0dc10, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0dc70, model = "unknown", speed = 0.0 }, { times = table: 0xf7d0dcd0, model = "unknown", speed = 0.0 } } ok 63 misc - uv.cpu_info "lo" { { internal = true, ip = "127.0.0.1", family = "inet", mac = "\0\0\0\0\0\0", netmask = "255.0.0.0" }, { internal = true, ip = "::1", family = "inet6", mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } "eth0" { { internal = false, ip = "172.16.27.144", family = "inet", mac = "\0>›o)", netmask = "255.255.255.0" }, { internal = false, ip = "2a02:168:a077:701:216:3eff:fe9b:6f29", family = "inet6", mac = "\0>›o)", netmask = "ffff:ffff:ffff:ffff::" }, { internal = false, ip = "fe80::216:3eff:fe9b:6f29", family = "inet6", mac = "\0>›o)", netmask = "ffff:ffff:ffff:ffff::" } } ok 64 misc - uv.interface_addresses { 26.89, 24.08, 31.78 } 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 { gid = 1000, username = "buildozer", homedir = "/home/buildozer", shell = "/bin/sh", uid = 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 1.1709714427974e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { machine = "armv8l", version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000", release = "6.1.90-0-lts", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1730235261 uv.gettimeofday 1730235261.000266 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 = 11709715, nsec = 431233991 } nil "realtime" { sec = 11709715, nsec = 431251911 } 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: 0xf7d049d0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d04bd0 "timeout" uv_timer_t: 0xf7cff600 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d04ed0 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: 0xf7cff8e0, pid = 69239 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7cffd90, pid = 69240 } "exit" uv_process_t: 0xf7cffd90 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d03b10, pid = 69241 } "exit" uv_process_t: 0xf7d03b10 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7cffb60, pid = 69243 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 69245, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7cfe930, address = { port = 43661, ip = "127.0.0.1", family = "inet" } } { req = uv_connect_t: 0xf7d111c8, client = uv_tcp_t: 0xf7cfeb70 } "server on connection" uv_tcp_t: 0xf7cfe930 "client on connect" uv_tcp_t: 0xf7cfeb70 nil "client on shutdown" uv_tcp_t: 0xf7cfeb70 nil "client on close" uv_tcp_t: 0xf7cfeb70 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7d10860, address = { port = 44925, ip = "::1", family = "inet6" } } { req = uv_connect_t: 0xf7cfe0a8, client = uv_tcp_t: 0xf7d16ff0 } "server on connection" uv_tcp_t: 0xf7d10860 "client on connect" uv_tcp_t: 0xf7d16ff0 nil "client on shutdown" uv_tcp_t: 0xf7d16ff0 nil "client on close" uv_tcp_t: 0xf7d16ff0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7cfed20, address = { port = 45563, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7d10888, socket = uv_tcp_t: 0xf7cfeed0 } "client onwrite" uv_tcp_t: 0xf7cfeed0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7cfec90, address = { port = 43105, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7d10888, socket = uv_tcp_t: 0xf7d16ff0 } "client onwrite" uv_tcp_t: 0xf7d16ff0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0xf7d10860, address = { port = 38155, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7cfe958, socket = uv_tcp_t: 0xf7d16ff0 } "client onwrite" uv_tcp_t: 0xf7d16ff0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7d107d0, address = { port = 44959, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7cfe8c8, socket = uv_tcp_t: 0xf7d10c50 } "client onwrite" uv_tcp_t: 0xf7d10c50 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7cfeed0, address = { port = 33255, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7d17018, socket = uv_tcp_t: 0xf7d10860 } "client onwrite" uv_tcp_t: 0xf7d10860 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7cfee40, address = { port = 45129, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7d17018, socket = uv_tcp_t: 0xf7d10860 } "client onwrite" uv_tcp_t: 0xf7d10860 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: 0xf5cedd84 { elapsed = 100, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7eb8f34 Runing uv_thread_t: 0xf7eb8f34 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 101, 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: 0xf7cfe2c0 "closed" uv_timer_t: 0xf7cfe2c0 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7cfe320 "interval" uv_timer_t: 0xf7cfe320 "interval" uv_timer_t: 0xf7cfe320 "closed" uv_timer_t: 0xf7cfe320 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7cff3c0 "timeout" uv_timer_t: 0xf7cff360 "interval" uv_timer_t: 0xf7cff3c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7cff420 0 "interval" uv_timer_t: 0xf7cff420 8 "interval" uv_timer_t: 0xf7cff420 4 "interval" uv_timer_t: 0xf7cff420 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7cff480 0 "interval" uv_timer_t: 0xf7cff480 8 "interval" uv_timer_t: 0xf7cff480 4 "interval" uv_timer_t: 0xf7cff480 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x5b7f40 } { req = 0, client = uv_udp_t: 0xf7d07550 } "client on send" uv_udp_t: 0xf7d07550 nil "server on recv" uv_udp_t: 0x5b7f40 "PING" { port = 49243, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x5b7f40 "client on close" uv_udp_t: 0xf7d07550 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d075d0 } { req = 0, client = uv_udp_t: 0xf7d07650 } "client on send" uv_udp_t: 0xf7d07650 nil "server on recv" uv_udp_t: 0xf7d075d0 "PING" { port = 50986, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0xf7d075d0 "client on close" uv_udp_t: 0xf7d07650 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7d07550 } { req = 0, client = uv_udp_t: 0xf7d076d0 } "client on send" uv_udp_t: 0xf7d076d0 nil "server on recv" uv_udp_t: 0xf7d07550 "PING" { port = 40898, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0xf7d07550 "client on close" uv_udp_t: 0xf7d076d0 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: 0xf7d07550 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0xf7d07550 "PING" { port = 49101, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0xf7d07550 "PING" { port = 52511, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0xf7d07550 "PING" { port = 52511, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0xf7d07550 nil nil { } "server on recv" uv_udp_t: 0xf7d07550 "PING" { port = 53689, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0xf7d07650 "server on close" uv_udp_t: 0xf7d07550 ok 130 udp - udp connect "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", family = "inet" } "PING" { port = 42933, ip = "127.0.0.1", 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: 0xf64f0d84" "hello" uv_thread_t: 0xf64f0d84 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: 0xf7d8b290 "closed" uv_timer_t: 0xf7d8b290 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d8b680 "closed" { } uv_timer_t: 0xf7d8b680 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { socktype = "stream", protocol = "tcp", family = "inet6", addr = "::1", port = 80 }, { socktype = "stream", protocol = "tcp", family = "inet", addr = "127.0.0.1", port = 80 } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", protocol = "tcp", socktype = "stream", family = "inet6", port = 80 }, { addr = "127.0.0.1", protocol = "tcp", socktype = "stream", family = "inet", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { socktype = "stream", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", family = "inet" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "tcp", canonname = "luvit.io" }, { socktype = "stream", addr = "206.189.225.172", family = "inet", protocol = "tcp", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", protocol = "tcp", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", protocol = "udp", family = "inet6", canonname = "luvit.io" }, { addr = "206.189.225.172", socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", socktype = "dgram", protocol = "udp", family = "inet", 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 { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-3-21-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-21-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 = 71626074, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7d80f98, mtime = table: 0xf7d72628, ctime = table: 0xf7d7b9f8, birthtime = table: 0xf7d05f20, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { uid = 1000, gid = 1000, rdev = 0, ino = 71626074, blksize = 4096, size = 6060, flags = 0, gen = 0, atime = table: 0xf7d1e0a8, mtime = table: 0xf7d80f98, ctime = table: 0xf7cee268, birthtime = table: 0xf7ce7400, type = "file", dev = 64769, mode = 33188, nlink = 1, 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 { 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 { 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 { 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: 0xf7d1b0f8 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 { ffree = 106922674, type = 61267, files = 116916224, bsize = 4096, blocks = 460041184, bfree = 79776829, bavail = 56389591 } ok 41 fs - fs.statfs sync { bfree = 79776829, type = 61267, ffree = 106922674, files = 116916224, bavail = 56389591, bsize = 4096, 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 { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.49.2", version = 78082 } ok 58 misc - uv.version and uv.version_string { rss = 1880064, total = 269265448960, constrained = 9.2233720368548e+18, available = 252909834240, free = 252909834240 } ok 59 misc - memory size { uptime = 11709722.83 } ok 60 misc - uv.uptime { ixrss = 0, idrss = 0, isrss = 0, minflt = 471, majflt = 0, nswap = 0, inblock = 0, oublock = 88, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 61, nivcsw = 1, utime = { usec = 381890, sec = 0 }, stime = { usec = 265778, sec = 0 }, maxrss = 1860 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf7d033f0, model = "unknown", speed = 0 }, { times = table: 0xf7cf0a58, model = "unknown", speed = 0 }, { times = table: 0xf7d0c8a8, model = "unknown", speed = 0 }, { times = table: 0xf7d7dee0, model = "unknown", speed = 0 }, { times = table: 0xf7cf5630, model = "unknown", speed = 0 }, { times = table: 0xf7cef778, model = "unknown", speed = 0 }, { times = table: 0xf7d17ab0, model = "unknown", speed = 0 }, { times = table: 0xf7ce58b0, model = "unknown", speed = 0 }, { times = table: 0xf7ceddc8, model = "unknown", speed = 0 }, { times = table: 0xf7ceb0b0, model = "unknown", speed = 0 }, { times = table: 0xf7cf22b0, model = "unknown", speed = 0 }, { times = table: 0xf7cf24a8, model = "unknown", speed = 0 }, { times = table: 0xf7cf2268, model = "unknown", speed = 0 }, { times = table: 0xf7d189c0, model = "unknown", speed = 0 }, { times = table: 0xf7ce4040, model = "unknown", speed = 0 }, { times = table: 0xf7d20860, model = "unknown", speed = 0 }, { times = table: 0xf7d1dd80, model = "unknown", speed = 0 }, { times = table: 0xf7d03a58, model = "unknown", speed = 0 }, { times = table: 0xf7d1c6e8, model = "unknown", speed = 0 }, { times = table: 0xf7d79e40, model = "unknown", speed = 0 }, { times = table: 0xf7d7b9f8, model = "unknown", speed = 0 }, { times = table: 0xf7d80968, model = "unknown", speed = 0 }, { times = table: 0xf7cf2020, model = "unknown", speed = 0 }, { times = table: 0xf7d1d538, model = "unknown", speed = 0 }, { times = table: 0xf7cf3668, model = "unknown", speed = 0 }, { times = table: 0xf7d1a7e0, model = "unknown", speed = 0 }, { times = table: 0xf7d1ae70, model = "unknown", speed = 0 }, { times = table: 0xf7ce6ae0, model = "unknown", speed = 0 }, { times = table: 0xf7d1a368, model = "unknown", speed = 0 }, { times = table: 0xf7ce4d08, model = "unknown", speed = 0 }, { times = table: 0xf7d1e540, model = "unknown", speed = 0 }, { times = table: 0xf7d1f950, model = "unknown", speed = 0 }, { times = table: 0xf7d19090, model = "unknown", speed = 0 }, { times = table: 0xf7d7db28, model = "unknown", speed = 0 }, { times = table: 0xf7cf0e98, model = "unknown", speed = 0 }, { times = table: 0xf7cedc30, model = "unknown", speed = 0 }, { times = table: 0xf7d7aec8, model = "unknown", speed = 0 }, { times = table: 0xf7d0c5f8, model = "unknown", speed = 0 }, { times = table: 0xf7d0a400, model = "unknown", speed = 0 }, { times = table: 0xf7cf4120, model = "unknown", speed = 0 }, { times = table: 0xf7d1fd70, model = "unknown", speed = 0 }, { times = table: 0xf7d05418, model = "unknown", speed = 0 }, { times = table: 0xf7ce9e58, model = "unknown", speed = 0 }, { times = table: 0xf7d0ef58, model = "unknown", speed = 0 }, { times = table: 0xf7d05760, model = "unknown", speed = 0 }, { times = table: 0xf7d1ac30, model = "unknown", speed = 0 }, { times = table: 0xf7d09c68, model = "unknown", speed = 0 }, { times = table: 0xf7ce5e08, model = "unknown", speed = 0 }, { times = table: 0xf7ce61b0, model = "unknown", speed = 0 }, { times = table: 0xf7d09f70, model = "unknown", speed = 0 }, { times = table: 0xf7d12c30, model = "unknown", speed = 0 }, { times = table: 0xf7d17040, model = "unknown", speed = 0 }, { times = table: 0xf7ce3678, model = "unknown", speed = 0 }, { times = table: 0xf7d1efe0, model = "unknown", speed = 0 }, { times = table: 0xf7d109d0, model = "unknown", speed = 0 }, { times = table: 0xf7d1b698, model = "unknown", speed = 0 }, { times = table: 0xf7ce51d0, model = "unknown", speed = 0 }, { times = table: 0xf7d1c8a0, model = "unknown", speed = 0 }, { times = table: 0xf7d17320, model = "unknown", speed = 0 }, { times = table: 0xf7cf6860, model = "unknown", speed = 0 }, { times = table: 0xf7cf69e0, model = "unknown", speed = 0 }, { times = table: 0xf7cecac0, model = "unknown", speed = 0 }, { times = table: 0xf7cecc40, model = "unknown", speed = 0 }, { times = table: 0xf7d19a08, model = "unknown", speed = 0 }, { times = table: 0xf7d19b88, model = "unknown", speed = 0 }, { times = table: 0xf7cfa2e0, model = "unknown", speed = 0 }, { times = table: 0xf7cfa460, model = "unknown", speed = 0 }, { times = table: 0xf7d7e080, model = "unknown", speed = 0 }, { times = table: 0xf7ce6688, model = "unknown", speed = 0 }, { times = table: 0xf7ce6808, model = "unknown", speed = 0 }, { times = table: 0xf7d6ba50, model = "unknown", speed = 0 }, { times = table: 0xf7d6bbd0, model = "unknown", speed = 0 }, { times = table: 0xf7d69570, model = "unknown", speed = 0 }, { times = table: 0xf7d696f0, model = "unknown", speed = 0 }, { times = table: 0xf7ce7f98, model = "unknown", speed = 0 }, { times = table: 0xf7ce8118, model = "unknown", speed = 0 }, { times = table: 0xf7d1d2a0, model = "unknown", speed = 0 }, { times = table: 0xf7d1d420, model = "unknown", speed = 0 }, { times = table: 0xf7d0ad30, model = "unknown", speed = 0 }, { times = table: 0xf7d0aeb0, model = "unknown", speed = 0 } } ok 63 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", ip = "172.16.27.144", family = "inet", mac = "\0>›o)", internal = false }, { netmask = "ffff:ffff:ffff:ffff::", ip = "2a02:168:a077:701:216:3eff:fe9b:6f29", family = "inet6", mac = "\0>›o)", internal = false }, { netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe9b:6f29", family = "inet6", mac = "\0>›o)", internal = false } } "lo" { { netmask = "255.0.0.0", ip = "127.0.0.1", family = "inet", mac = "\0\0\0\0\0\0", internal = true }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1", family = "inet6", mac = "\0\0\0\0\0\0", internal = true } } ok 64 misc - uv.interface_addresses { 22.83, 23.3, 31.44 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.1710398010" 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 1.1709722837859e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.90-0-lts", machine = "armv8l", sysname = "Linux", version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000" } ok 73 misc - uv.os_uname os.time 1730235269 uv.gettimeofday 1730235269.000677 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 = 843759796, sec = 11709723 } nil "realtime" { nsec = 843770837, sec = 11709723 } 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: 0x005dc330 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x005dc330 "timeout" uv_timer_t: 0xf7d8b2f0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x005dc330 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: 0xf7d8b3b0, pid = 69258 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7d8b410, pid = 69259 } "exit" uv_process_t: 0xf7d8b410 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d8b300, pid = 69260 } "exit" uv_process_t: 0xf7d8b300 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7d8b3c0, pid = 69262 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 69264, signal = 0, code = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7d8b1e0, address = { port = 38377, ip = "127.0.0.1", family = "inet" } } { req = uv_connect_t: 0xf7d22530, client = uv_tcp_t: 0x005dc340 } "server on connection" uv_tcp_t: 0xf7d8b1e0 "client on connect" uv_tcp_t: 0x005dc340 nil "client on shutdown" uv_tcp_t: 0x005dc340 nil "client on close" uv_tcp_t: 0x005dc340 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7d8b1f0, address = { port = 33847, ip = "::1", family = "inet6" } } { req = uv_connect_t: 0xf7d22530, client = uv_tcp_t: 0x005dc330 } "server on connection" uv_tcp_t: 0xf7d8b1f0 "client on connect" uv_tcp_t: 0x005dc330 nil "client on shutdown" uv_tcp_t: 0x005dc330 nil "client on close" uv_tcp_t: 0x005dc330 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7d8b1e0, address = { port = 36829, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc340, req = uv_write_t: 0xf7d0fc60 } "client onwrite" uv_tcp_t: 0x005dc340 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7d8b1f0, address = { port = 42499, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc330, req = uv_write_t: 0xf7d1d3e8 } "client onwrite" uv_tcp_t: 0x005dc330 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0xf7d8b1f0, address = { port = 38193, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc340, req = uv_write_t: 0xf7d0fc60 } "client onwrite" uv_tcp_t: 0x005dc340 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7d8b1e0, address = { port = 45683, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc330, req = uv_write_t: 0xf7d0fc60 } "client onwrite" uv_tcp_t: 0x005dc330 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7d8b1f0, address = { port = 44079, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc340, req = uv_write_t: 0xf7d0fc60 } "client onwrite" uv_tcp_t: 0x005dc340 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7d8b1e0, address = { port = 35477, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x005dc330, req = uv_write_t: 0xf7d0fc60 } "client onwrite" uv_tcp_t: 0x005dc330 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: 0xf5c74d84 { elapsed = 101, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7e10f34 Runing uv_thread_t: 0xf7e10f34 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 101, 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: 0xf7d8b410 "closed" uv_timer_t: 0xf7d8b410 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7d8b2f0 "interval" uv_timer_t: 0xf7d8b2f0 "interval" uv_timer_t: 0xf7d8b2f0 "closed" uv_timer_t: 0xf7d8b2f0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d8b3b0 "timeout" uv_timer_t: 0xf7d8b350 "interval" uv_timer_t: 0xf7d8b3b0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d8b410 0 "interval" uv_timer_t: 0xf7d8b410 8 "interval" uv_timer_t: 0xf7d8b410 4 "interval" uv_timer_t: 0xf7d8b410 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d8b2f0 0 "interval" uv_timer_t: 0xf7d8b2f0 8 "interval" uv_timer_t: 0xf7d8b2f0 4 "interval" uv_timer_t: 0xf7d8b2f0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x005dc520 } { req = 0, client = uv_udp_t: 0x005dc5a0 } "client on send" uv_udp_t: 0x005dc5a0 nil "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 50763, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x005dc520 "client on close" uv_udp_t: 0x005dc5a0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x005dc520 } { req = 0, client = uv_udp_t: 0x005dc5a0 } "client on send" uv_udp_t: 0x005dc5a0 nil "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 52123, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x005dc520 "client on close" uv_udp_t: 0x005dc5a0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x005dc520 } { req = 0, client = uv_udp_t: 0x005dc5a0 } "client on send" uv_udp_t: 0x005dc5a0 nil "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 52939, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0x005dc520 "client on close" uv_udp_t: 0x005dc5a0 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: 0x005dc520 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 51361, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 48461, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 48461, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x005dc520 nil nil { } "server on recv" uv_udp_t: 0x005dc520 "PING" { port = 57630, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0x005dc5a0 "server on close" uv_udp_t: 0x005dc520 ok 130 udp - udp connect "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", family = "inet" } "PING" { port = 51046, ip = "127.0.0.1", 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 2 4 "uv_thread_t: 0xf64d9d84" "hello" uv_thread_t: 0xf64d9d84 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 0xf7d52ff5 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... './usr/lib/libluv.a' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-static/./usr/lib/libluv.a' >>> 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... 'usr/include' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/lib/pkgconfig' 'usr/lib/libluv.so' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/lib/libluv.so' >>> 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... '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: 105.2 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: 9.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: 161.6 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: 0.0 >>> 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: 105.2 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: 105.2 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, 29 Oct 2024 20:54:35 +0000 elapsed time 0h 0m 46s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/16) Purging .makedepends-lua-luv (20241029.205355) (2/16) Purging cmake (3.30.5-r0) (3/16) Purging libuv-dev (1.49.2-r0) (4/16) Purging libuv (1.49.2-r0) (5/16) Purging lua-compat53-dev (0.13-r0) (6/16) Purging luajit-dev (2.1_p20240314-r0) (7/16) Purging luajit (2.1_p20240314-r0) (8/16) Purging lua5.1-dev (5.1.5-r13) (9/16) Purging lua5.1 (5.1.5-r13) (10/16) Purging lua5.1-libs (5.1.5-r13) (11/16) Purging lua5.4-dev (5.4.7-r0) (12/16) Purging libarchive (3.7.7-r0) (13/16) Purging libbz2 (1.0.8-r6) (14/16) Purging rhash-libs (1.4.4-r0) (15/16) Purging samurai (1.2-r6) (16/16) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r3.trigger OK: 271 MiB in 101 packages >>> lua-luv: Updating the community/armv7 repository index... >>> lua-luv: Signing the index...