>>> lua-luv: Building community/lua-luv 1.51.0.1-r0 (using abuild 3.15.0_rc3-r3) started Sat, 17 May 2025 22:00:07 +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.8.1-r0) (3/16) Installing libarchive (3.7.9-r0) (4/16) Installing rhash-libs (1.4.5-r0) (5/16) Installing libuv (1.51.0-r0) (6/16) Installing cmake (3.31.7-r1) (7/16) Installing libuv-dev (1.51.0-r0) (8/16) Installing lua-compat53-dev (0.13-r0) (9/16) Installing samurai (1.2-r7) (10/16) Installing luajit (2.1_p20240815-r1) (11/16) Installing luajit-dev (2.1_p20240815-r1) (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 (20250517.220008) Executing busybox-1.37.0-r17.trigger OK: 341 MiB in 118 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.51.0-1.tar.gz >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.51.0-1.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.51.0-1.tar.gz: OK skip-tty-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/lua-luv-1.51.0-1.tar.gz... >>> lua-luv: skip-tty-test.patch patching file tests/test-tty.lua -- The C compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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.51.0-1/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.51.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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.51.0-1/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.51.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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.51.0-1/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.51.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1/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 cmd: lua5.1 cwd: /home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1 Skipped test-tty: LuaJIT FFI not found 1..158 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7ffff06e89f0 "closed" uv_timer_t: 0x7ffff06e89f0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7ffff06e8950 "closed" { } uv_timer_t: 0x7ffff06e8950 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 Skipping! This test is expected to fail on Lua 5.1 and LuaJIT. ok 7 coroutines-require - callback should be in main thread begin wait end wait ok 8 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 9 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 10 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", family = "inet6", canonname = "luvit.io" } } 4 ok 14 dns - Get all addresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 15 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 16 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-3-22-loongarch64.local" } ok 17 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 18 dns - Lookup local ipv6 address { service = "0", hostname = "build-3-22-loongarch64.local" } ok 19 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { nlink = 1, ino = 184836370, mtime = table: 0x7ffff0713a50, gid = 1000, mode = 33188, size = 6066, dev = 2048, gen = 0, rdev = 0, atime = table: 0x7ffff0713a00, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7ffff0713af0, birthtime = table: 0x7ffff0713b40, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { nlink = 1, ino = 184836370, mtime = table: 0x7ffff076fa80, gid = 1000, mode = 33188, size = 6066, dev = 2048, gen = 0, rdev = 0, atime = table: 0x7ffff076fa30, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7ffff076fad0, birthtime = table: 0x7ffff076fb20, blocks = 16 } } { chunk = 6066 } ok 23 fs - read a file async ok 24 fs - fs.write ok 25 fs - fs.write data refs ok 26 fs - fs.stat sync ok 27 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 28 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 29 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 30 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 31 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 32 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 33 fs - fs.scandir async ok 34 fs - fs.scandir with no iteration ok 35 fs - fs.scandir given to new_work "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" ok 36 fs - fs.realpath ok 37 fs - fs.copyfile { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } uv_dir_t: 0x7ffff076f568 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 44 fs - fs.{open,read,close}dir ref check { bavail = 667931805, type = 61267, bsize = 4096, files = 244195328, bfree = 716773633, ffree = 236395687, blocks = 961137872 } ok 45 fs - fs.statfs sync { bavail = 667931805, type = 61267, bsize = 4096, files = 244195328, bfree = 716773633, ffree = 236395687, blocks = 961137872 } ok 46 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 47 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 48 fs - fs.statfs async error ok 49 fs - fs.mkdtemp async ok 50 fs - fs.mkdtemp sync ok 51 fs - fs.mkdtemp async error ok 52 fs - fs.mkdtemp sync error ok 53 fs - fs.mkstemp async ok 54 fs - fs.mkstemp sync ok 55 fs - fs.mkstemp async error ok 56 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 57 fs - errors with dest paths ok 58 fs - fs.utime ok 59 fs - fs.futime ok 60 fs - fs.lutime ok 61 handle - get type ok 62 loop - uv.loop_mode "stdout" { } #437 0 0 ok 63 loop - issue #437, crash without uv.run "stdout" { } #599 5 0 ok 64 loop - issue #599, crash during calling os.exit { loop_count = 77, events = 43, events_waiting = 0 } { loop_count = 78, events = 43, events_waiting = 0 } ok 65 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 66 misc - uv.guess_handle { version = 78592, version_string = "1.51.0" } ok 67 misc - uv.version and uv.version_string { rss = 2097152, total = 273614962688, free = 264456650752, constrained = 0, available = 264456650752 } ok 68 misc - memory size { uptime = 23453534.33 } ok 69 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 687993, sec = 0 }, oublock = 192, stime = { usec = 27363, sec = 0 }, nivcsw = 4, minflt = 386, idrss = 0, majflt = 2, nvcsw = 77, isrss = 0, nswap = 0, maxrss = 2048, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 70 misc - uv.getrusage { inblock = 0, nsignals = 0, utime = { usec = 689310, sec = 0 }, oublock = 128, stime = { usec = 23366, sec = 0 }, nivcsw = 4, minflt = 374, idrss = 0, majflt = 2, nvcsw = 25, isrss = 0, nswap = 0, maxrss = 2048, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 71 misc - uv.getrusage_thread 32 ok 72 misc - uv.available_parallelism { { speed = 0, times = table: 0x7ffff0712370, model = "unknown" }, { speed = 0, times = table: 0x7ffff0712500, model = "unknown" }, { speed = 0, times = table: 0x7ffff07125f0, model = "unknown" }, { speed = 0, times = table: 0x7ffff08279e0, model = "unknown" }, { speed = 0, times = table: 0x7ffff0827c10, model = "unknown" }, { speed = 0, times = table: 0x7ffff0827f30, model = "unknown" }, { speed = 0, times = table: 0x7ffff070d930, model = "unknown" }, { speed = 0, times = table: 0x7ffff070dac0, model = "unknown" }, { speed = 0, times = table: 0x7ffff070dd40, model = "unknown" }, { speed = 0, times = table: 0x7ffff070de80, model = "unknown" }, { speed = 0, times = table: 0x7ffff070df20, model = "unknown" }, { speed = 0, times = table: 0x7ffff0756820, model = "unknown" }, { speed = 0, times = table: 0x7ffff0756c80, model = "unknown" }, { speed = 0, times = table: 0x7ffff0756dc0, model = "unknown" }, { speed = 0, times = table: 0x7ffff0756eb0, model = "unknown" }, { speed = 0, times = table: 0x7ffff06ea870, model = "unknown" }, { speed = 0, times = table: 0x7ffff06ea960, model = "unknown" }, { speed = 0, times = table: 0x7ffff06eaaf0, model = "unknown" }, { speed = 0, times = table: 0x7ffff06eabe0, model = "unknown" }, { speed = 0, times = table: 0x7ffff06eacd0, model = "unknown" }, { speed = 0, times = table: 0x7ffff06ead70, model = "unknown" }, { speed = 0, times = table: 0x7ffff06eaeb0, model = "unknown" }, { speed = 0, times = table: 0x7ffff0768b90, model = "unknown" }, { speed = 0, times = table: 0x7ffff076dfe0, model = "unknown" }, { speed = 0, times = table: 0x7ffff07262b0, model = "unknown" }, { speed = 0, times = table: 0x7ffff07264e0, model = "unknown" }, { speed = 0, times = table: 0x7ffff0726620, model = "unknown" }, { speed = 0, times = table: 0x7ffff0726710, model = "unknown" }, { speed = 0, times = table: 0x7ffff07271f0, model = "unknown" }, { speed = 0, times = table: 0x7ffff0727290, model = "unknown" }, { speed = 0, times = table: 0x7ffff0727560, model = "unknown" }, { speed = 0, times = table: 0x7ffff0727600, model = "unknown" } } ok 73 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>KDi", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.24.22" }, { mac = "\0>KDi", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe4b:4469" } } ok 74 misc - uv.interface_addresses { 0.63, 0.39, 0.6 } ok 75 misc - uv.loadavg "/usr/bin/lua5.1" ok 76 misc - uv.exepath "/home/buildozer" ok 77 misc - uv.os_homedir "/tmp" ok 78 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/sh" } ok 79 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/" ok 80 misc - uv.cwd and uv.chdir 2.3453534352114e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { release = "6.6.47-0-lts", machine = "loongarch64", version = "#1-Alpine SMP PREEMPT 2024-08-19 08:00:37", sysname = "Linux" } ok 83 misc - uv.os_uname os.time 1747519231 uv.gettimeofday 1747519231.000331 ok 84 misc - uv.gettimeofday ok 85 misc - uv.os_environ ok 86 misc - uv.sleep ok 87 misc - uv.random async ok 88 misc - uv.random sync ok 89 misc - uv.random errors ok 90 misc - uv errno ok 91 misc - uv constants 1024 nil ok 92 misc - uv.cpumask_size "monotonic" { nsec = 364297081, sec = 23453535 } nil "realtime" { nsec = 364330611, sec = 23453535 } nil ok 93 misc - uv.clock_gettime ok 94 misc - uv.wtf8 and utf16 conversion ok 95 misc - uv.wtf8<->utf16 unpaired surrogate ok 96 misc - uv.wtf8<->utf16 empty strings ok 97 pipe - pipe chmod ok 98 pipe - pipe ping pong ok 99 pipe - pipe close fd ok 100 pipe - pipe getsockname abstract "prepare" uv_prepare_t: 0x7ffff07223c0 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7ffff0722440 "timeout" uv_timer_t: 0x7ffff06e8950 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7ffff07224c0 ok 103 prepare-check-idle-async - simple idle ok 104 prepare-check-idle-async - simple async ok 105 process - test disable_stdio_inheritance { handle = uv_process_t: 0x7ffff06f23f0, pid = 4229 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x7ffff06f2480, pid = 4230 } "exit" uv_process_t: 0x7ffff06f2480 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x7ffff06f2510, pid = 4231 } "exit" uv_process_t: 0x7ffff06f2510 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x7ffff06f27e0, pid = 4233 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 110 process - process stdio ok 111 process - get pid ok 112 req - cancel ok 113 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 4235, code = 0 } ok 114 signal - Catch SIGINT { address = { family = "inet", port = 35945, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06f77a0 } { req = uv_connect_t: 0x7ffff070e638, client = uv_tcp_t: 0x7ffff07087d0 } "server on connection" uv_tcp_t: 0x7ffff06f77a0 "client on connect" uv_tcp_t: 0x7ffff07087d0 nil "client on shutdown" uv_tcp_t: 0x7ffff07087d0 nil "client on close" uv_tcp_t: 0x7ffff07087d0 ok 115 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 46365, ip = "::1" }, server = uv_tcp_t: 0x7ffff06d2250 } { req = uv_connect_t: 0x7ffff0754558, client = uv_tcp_t: 0x7ffff06d2370 } "server on connection" uv_tcp_t: 0x7ffff06d2250 "client on connect" uv_tcp_t: 0x7ffff06d2370 nil "client on shutdown" uv_tcp_t: 0x7ffff06d2370 nil "client on close" uv_tcp_t: 0x7ffff06d2370 ok 116 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 40695, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06d24a0 } { req = uv_write_t: 0x7ffff0948d38, socket = uv_tcp_t: 0x7ffff06d26e0 } "client onwrite" uv_tcp_t: 0x7ffff06d26e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { family = "inet", port = 35805, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06d2a30 } { req = uv_write_t: 0x7ffff077c718, socket = uv_tcp_t: 0x7ffff06d2b60 } "client onwrite" uv_tcp_t: 0x7ffff06d2b60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 118 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 119 tcp - tcp invalid ip address { address = { family = "inet", port = 39401, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06d2eb0 } { req = uv_write_t: 0x7ffff0937ae8, socket = uv_tcp_t: 0x7ffff0757580 } "client onwrite" uv_tcp_t: 0x7ffff0757580 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { family = "inet", port = 32893, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff0705db0 } { req = uv_write_t: 0x7ffff0948d38, socket = uv_tcp_t: 0x7ffff076d020 } "client onwrite" uv_tcp_t: 0x7ffff076d020 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { family = "inet", port = 44207, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06f77b0 } { req = uv_write_t: 0x7ffff0937ae8, socket = uv_tcp_t: 0x7ffff07087e0 } "client onwrite" uv_tcp_t: 0x7ffff07087e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { family = "inet", port = 42361, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff06d2380 } { req = uv_write_t: 0x7ffff077c718, socket = uv_tcp_t: 0x7ffff06d2480 } "client onwrite" uv_tcp_t: 0x7ffff06d2480 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 123 tcp - tcp close reset accepted after shutdown ok 124 tcp - socketpair ping pong In uv_thread_t: 0x7fffee68fb20 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x7ffff0942d10 Running uv_thread_t: 0x7ffff0942d10 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x7ffff094ceb0 "closed" uv_timer_t: 0x7ffff094ceb0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x7ffff06e8950 "interval" uv_timer_t: 0x7ffff06e8950 "interval" uv_timer_t: 0x7ffff06e8950 "closed" uv_timer_t: 0x7ffff06e8950 ok 137 timer - simple interval "interval" uv_timer_t: 0x7ffff094ceb0 "timeout" uv_timer_t: 0x7ffff06e89f0 "interval" uv_timer_t: 0x7ffff094ceb0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x7ffff06e8950 0 "interval" uv_timer_t: 0x7ffff06e8950 8 "interval" uv_timer_t: 0x7ffff06e8950 4 "interval" uv_timer_t: 0x7ffff06e8950 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x7ffff06e89f0 0 "interval" uv_timer_t: 0x7ffff06e89f0 8 "interval" uv_timer_t: 0x7ffff06e89f0 4 "interval" uv_timer_t: 0x7ffff06e89f0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x7ffff0948d20 } { req = 0, client = uv_udp_t: 0x7ffff0759960 } "client on send" uv_udp_t: 0x7ffff0759960 nil "server on recv" uv_udp_t: 0x7ffff0948d20 "PING" { family = "inet", port = 38109, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7ffff0948d20 "client on close" uv_udp_t: 0x7ffff0759960 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7ffff077c700 } { req = 0, client = uv_udp_t: 0x7ffff0759b50 } "client on send" uv_udp_t: 0x7ffff0759b50 nil "server on recv" uv_udp_t: 0x7ffff077c700 "PING" { family = "inet", port = 36351, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7ffff077c700 "client on close" uv_udp_t: 0x7ffff0759b50 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x7ffff0937ad0 } { req = 0, client = uv_udp_t: 0x7ffff0759d50 } "client on send" uv_udp_t: 0x7ffff0759d50 nil "server on recv" uv_udp_t: 0x7ffff0937ad0 "PING" { family = "inet6", port = 50103, ip = "::1" } { } "server on close" uv_udp_t: 0x7ffff0937ad0 "client on close" uv_udp_t: 0x7ffff0759d50 ok 145 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 146 udp - udp send args { server = uv_udp_t: 0x7ffff0948d10 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7ffff0948d10 "PING" { family = "inet", port = 44669, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff0948d10 "PING" { family = "inet", port = 43612, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff0948d10 "PING" { family = "inet", port = 43612, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff0948d10 nil nil { } "server on recv" uv_udp_t: 0x7ffff0948d10 "PING" { family = "inet", port = 42156, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7ffff0937ad0 "server on close" uv_udp_t: 0x7ffff0948d10 ok 147 udp - udp connect "PING" { family = "inet", port = 34370, ip = "172.16.24.22" } "PING" { family = "inet", port = 34370, ip = "172.16.24.22" } ok 148 udp - udp multicast join ipv4 "PING" { family = "inet6", port = 59526, ip = "fe80::216:3eff:fe4b:4469" } "PING" { family = "inet6", port = 59526, ip = "fe80::216:3eff:fe4b:4469" } ok 149 udp - udp multicast join ipv6 "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } "PING" { family = "inet", port = 41721, ip = "127.0.0.1" } ok 150 udp - udp recvmmsg sent 5 out of 5, expecting 4 to be received "PING" { family = "inet", port = 9125, ip = "127.0.0.1" } "PING" { family = "inet", port = 9125, ip = "127.0.0.1" } "PING" { family = "inet", port = 9125, ip = "127.0.0.1" } "PING" { family = "inet", port = 9125, ip = "127.0.0.1" } ok 151 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { family = "inet", port = 45529, ip = "127.0.0.1" } "PING" { family = "inet", port = 45529, ip = "127.0.0.1" } "PING" { family = "inet", port = 45529, ip = "127.0.0.1" } "PING" { family = "inet", port = 45529, ip = "127.0.0.1" } "PING" { family = "inet", port = 45529, ip = "127.0.0.1" } ok 152 udp - udp try_send2 connected ok 153 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 154 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0x7fffefec7b20" "hello" uv_thread_t: 0x7fffefec7b20 finish hello ok 155 work - test threadpool with async 1 2 3 4 5 7 8 ok 156 work - test threadpool with coro ok 157 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: ? ok 158 work - test threadpool with invalid return value # All tests passed hello world from thread priority in thread 0 hello world from detached thread 6 >>> lua-luv: Running tests with lua5.4 cmd: lua5.4 cwd: /home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1 Skipped test-tty: LuaJIT FFI not found 1..158 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7ffff033f2f0 "closed" uv_timer_t: 0x7ffff033f2f0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7ffff033f390 "closed" { } uv_timer_t: 0x7ffff033f390 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 ok 7 coroutines-require - callback should be in main thread begin wait end wait ok 8 coroutines - coroutines { { port = 80, addr = "::1", protocol = "tcp", family = "inet6", socktype = "stream" }, { port = 80, addr = "127.0.0.1", protocol = "tcp", family = "inet", socktype = "stream" } } 2 ok 9 dns - Get all local http addresses { { port = 80, addr = "::1", protocol = "tcp", family = "inet6", socktype = "stream" }, { port = 80, addr = "127.0.0.1", protocol = "tcp", family = "inet", socktype = "stream" } } 2 ok 10 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", canonname = "luvit.io", protocol = "tcp" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { family = "inet", addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", canonname = "luvit.io", protocol = "tcp" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { family = "inet", addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp" }, { family = "inet", addr = "206.189.225.172", socktype = "dgram", canonname = "luvit.io", protocol = "udp" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", canonname = "luvit.io", protocol = "tcp" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", canonname = "luvit.io", protocol = "udp" } } 4 ok 14 dns - Get all addresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 15 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 16 dns - Lookup local ipv4 address sync { hostname = "build-3-22-loongarch64.local", service = "0" } ok 17 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 18 dns - Lookup local ipv6 address { hostname = "build-3-22-loongarch64.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { rdev = 0, uid = 1000, dev = 2048, mtime = table: 0x7ffff0312910, size = 6066, nlink = 1, flags = 0, ctime = table: 0x7ffff0312990, gid = 1000, ino = 184836370, blksize = 4096, type = "file", mode = 33188, birthtime = table: 0x7ffff0312a10, atime = table: 0x7ffff034d040, gen = 0, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { rdev = 0, uid = 1000, dev = 2048, mtime = table: 0x7ffff04ea120, size = 6066, nlink = 1, flags = 0, ctime = table: 0x7ffff04ea1e0, gid = 1000, ino = 184836370, blksize = 4096, type = "file", mode = 33188, birthtime = table: 0x7ffff04ea260, atime = table: 0x7ffff04ea060, gen = 0, blocks = 16 } } { chunk = 6066 } ok 23 fs - read a file async ok 24 fs - fs.write ok 25 fs - fs.write data refs ok 26 fs - fs.stat sync ok 27 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 28 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 29 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 30 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 31 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 32 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 33 fs - fs.scandir async ok 34 fs - fs.scandir with no iteration ok 35 fs - fs.scandir given to new_work "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" ok 36 fs - fs.realpath ok 37 fs - fs.copyfile { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } uv_dir_t: 0x7ffff0316178 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 44 fs - fs.{open,read,close}dir ref check { bsize = 4096, bavail = 667931797, bfree = 716773625, files = 244195328, type = 61267, blocks = 961137872, ffree = 236395687 } ok 45 fs - fs.statfs sync { bsize = 4096, bavail = 667931797, bfree = 716773625, files = 244195328, type = 61267, blocks = 961137872, ffree = 236395687 } ok 46 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 47 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 48 fs - fs.statfs async error ok 49 fs - fs.mkdtemp async ok 50 fs - fs.mkdtemp sync ok 51 fs - fs.mkdtemp async error ok 52 fs - fs.mkdtemp sync error ok 53 fs - fs.mkstemp async ok 54 fs - fs.mkstemp sync ok 55 fs - fs.mkstemp async error ok 56 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 57 fs - errors with dest paths ok 58 fs - fs.utime ok 59 fs - fs.futime ok 60 fs - fs.lutime ok 61 handle - get type ok 62 loop - uv.loop_mode "stdout" { } #437 0 0 ok 63 loop - issue #437, crash without uv.run "stdout" { } #599 5 0 ok 64 loop - issue #599, crash during calling os.exit { loop_count = 78, events_waiting = 0, events = 43 } { loop_count = 79, events_waiting = 0, events = 43 } ok 65 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 66 misc - uv.guess_handle { version = 78592, version_string = "1.51.0" } ok 67 misc - uv.version and uv.version_string { constrained = 0.0, available = 264460615680.0, total = 273614962688.0, free = 264460615680.0, rss = 2097152 } ok 68 misc - memory size { uptime = 23453544.21 } ok 69 misc - uv.uptime { ixrss = 0, stime = { usec = 4010, sec = 0 }, majflt = 1, idrss = 0, oublock = 224, nvcsw = 78, isrss = 0, nsignals = 0, msgrcv = 0, msgsnd = 0, nivcsw = 3, inblock = 0, nswap = 0, minflt = 294, maxrss = 2048, utime = { usec = 673793, sec = 0 } } ok 70 misc - uv.getrusage { ixrss = 0, stime = { usec = 4016, sec = 0 }, majflt = 1, idrss = 0, oublock = 160, nvcsw = 26, isrss = 0, nsignals = 0, msgrcv = 0, msgsnd = 0, nivcsw = 3, inblock = 0, nswap = 0, minflt = 281, maxrss = 2048, utime = { usec = 670696, sec = 0 } } ok 71 misc - uv.getrusage_thread 32 ok 72 misc - uv.available_parallelism { { speed = 0.0, times = table: 0x7fffee2c9930, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2c9d30, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2c9eb0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2c9cb0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2c99b0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cdf60, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce060, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce160, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce260, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce360, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce460, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce560, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce660, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cdfa0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce1a0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce3a0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce5a0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce020, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce420, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce120, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2ce320, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb000, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb100, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb200, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb300, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb400, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb500, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb600, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb700, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb0c0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb2c0, model = "unknown" }, { speed = 0.0, times = table: 0x7fffee2cb4c0, model = "unknown" } } ok 73 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", mac = "\0>KDi", ip = "172.16.24.22", family = "inet", internal = false }, { netmask = "ffff:ffff:ffff:ffff::", mac = "\0>KDi", ip = "fe80::216:3eff:fe4b:4469", family = "inet6", internal = false } } "lo" { { netmask = "255.0.0.0", mac = "\0\0\0\0\0\0", ip = "127.0.0.1", family = "inet", internal = true }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", mac = "\0\0\0\0\0\0", ip = "::1", family = "inet6", internal = true } } ok 74 misc - uv.interface_addresses { 0.53, 0.37, 0.6 } ok 75 misc - uv.loadavg "/usr/bin/lua5.4" ok 76 misc - uv.exepath "/home/buildozer" ok 77 misc - uv.os_homedir "/tmp" ok 78 misc - uv.os_tmpdir { uid = 1000, homedir = "/home/buildozer", gid = 1000, username = "buildozer", shell = "/bin/sh" } ok 79 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/" ok 80 misc - uv.cwd and uv.chdir 2.3453544223216e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { machine = "loongarch64", release = "6.6.47-0-lts", version = "#1-Alpine SMP PREEMPT 2024-08-19 08:00:37", sysname = "Linux" } ok 83 misc - uv.os_uname os.time 1747519241 uv.gettimeofday 1747519241.000201 ok 84 misc - uv.gettimeofday ok 85 misc - uv.os_environ ok 86 misc - uv.sleep ok 87 misc - uv.random async ok 88 misc - uv.random sync ok 89 misc - uv.random errors ok 90 misc - uv errno ok 91 misc - uv constants 1024 nil ok 92 misc - uv.cpumask_size "monotonic" { nsec = 230521890, sec = 23453545 } nil "realtime" { nsec = 230553160, sec = 23453545 } nil ok 93 misc - uv.clock_gettime ok 94 misc - uv.wtf8 and utf16 conversion ok 95 misc - uv.wtf8<->utf16 unpaired surrogate ok 96 misc - uv.wtf8<->utf16 empty strings ok 97 pipe - pipe chmod ok 98 pipe - pipe ping pong ok 99 pipe - pipe close fd ok 100 pipe - pipe getsockname abstract "prepare" uv_prepare_t: 0x7ffff033f640 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7ffff033f7c0 "timeout" uv_timer_t: 0x7ffff033f4d0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7ffff033f840 ok 103 prepare-check-idle-async - simple idle ok 104 prepare-check-idle-async - simple async ok 105 process - test disable_stdio_inheritance { handle = uv_process_t: 0x7ffff030ca40, pid = 4253 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x7ffff030ed80, pid = 4254 } "exit" uv_process_t: 0x7ffff030ed80 { signal = 2, status = 0 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x7ffff030ef30, pid = 4255 } "exit" uv_process_t: 0x7ffff030ef30 { signal = 15, status = 0 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x7ffff030d010, pid = 4257 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 110 process - process stdio ok 111 process - get pid ok 112 req - cancel ok 113 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, code = 0, pid = 4259 } ok 114 signal - Catch SIGINT { address = { port = 42445, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff0605ec0 } { client = uv_tcp_t: 0x7ffff0310cb0, req = uv_connect_t: 0x7ffff033c488 } "server on connection" uv_tcp_t: 0x7ffff0605ec0 "client on connect" uv_tcp_t: 0x7ffff0310cb0 nil "client on shutdown" uv_tcp_t: 0x7ffff0310cb0 nil "client on close" uv_tcp_t: 0x7ffff0310cb0 ok 115 tcp - basic tcp server and client (ipv4) { address = { port = 44409, family = "inet6", ip = "::1" }, server = uv_tcp_t: 0x7ffff0310c90 } { client = uv_tcp_t: 0x7ffff0314e50, req = uv_connect_t: 0x7ffff033f328 } "server on connection" uv_tcp_t: 0x7ffff0310c90 "client on connect" uv_tcp_t: 0x7ffff0314e50 nil "client on shutdown" uv_tcp_t: 0x7ffff0314e50 nil "client on close" uv_tcp_t: 0x7ffff0314e50 ok 116 tcp - basic tcp server and client (ipv6) { address = { port = 34217, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff0314e60 } { req = uv_write_t: 0x7ffff03fb158, socket = uv_tcp_t: 0x7ffff0310ca0 } "client onwrite" uv_tcp_t: 0x7ffff0310ca0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { port = 38949, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff0314c30 } { req = uv_write_t: 0x7ffff034fb48, socket = uv_tcp_t: 0x7ffff0310810 } "client onwrite" uv_tcp_t: 0x7ffff0310810 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 118 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 119 tcp - tcp invalid ip address { address = { port = 42211, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff03fb6d0 } { req = uv_write_t: 0x7ffff034fb68, socket = uv_tcp_t: 0x7ffff0310c90 } "client onwrite" uv_tcp_t: 0x7ffff0310c90 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { port = 42581, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff03fb120 } { req = uv_write_t: 0x7ffff0605ef8, socket = uv_tcp_t: 0x7ffff0310810 } "client onwrite" uv_tcp_t: 0x7ffff0310810 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { port = 41473, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff034fb30 } { req = uv_write_t: 0x7ffff0310ce8, socket = uv_tcp_t: 0x7ffff03fb6d0 } "client onwrite" uv_tcp_t: 0x7ffff03fb6d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { port = 39589, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7ffff03fb6e0 } { req = uv_write_t: 0x7ffff0310cc8, socket = uv_tcp_t: 0x7ffff0314e60 } "client onwrite" uv_tcp_t: 0x7ffff0314e60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 123 tcp - tcp close reset accepted after shutdown ok 124 tcp - socketpair ping pong In uv_thread_t: 0x7fffee2abb20 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x7ffff0612d10 Running uv_thread_t: 0x7ffff0612d10 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 hello world from thread priority in thread 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname hello world from detached thread ok 135 thread - detach "timeout" uv_timer_t: 0x7ffff033f2f0 "closed" uv_timer_t: 0x7ffff033f2f0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x7ffff033f4d0 "interval" uv_timer_t: 0x7ffff033f4d0 "interval" uv_timer_t: 0x7ffff033f4d0 "closed" uv_timer_t: 0x7ffff033f4d0 ok 137 timer - simple interval "interval" uv_timer_t: 0x7ffff033c450 "timeout" uv_timer_t: 0x7ffff033f570 "interval" uv_timer_t: 0x7ffff033c450 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x7ffff033f2f0 0 "interval" uv_timer_t: 0x7ffff033f2f0 8 "interval" uv_timer_t: 0x7ffff033f2f0 4 "interval" uv_timer_t: 0x7ffff033f2f0 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x7ffff033f4d0 0 "interval" uv_timer_t: 0x7ffff033f4d0 8 "interval" uv_timer_t: 0x7ffff033f4d0 4 "interval" uv_timer_t: 0x7ffff033f4d0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x7ffff03a52c0 } { client = uv_udp_t: 0x7ffff03a59b0, req = 0 } "client on send" uv_udp_t: 0x7ffff03a59b0 nil "server on recv" uv_udp_t: 0x7ffff03a52c0 "PING" { port = 35196, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7ffff03a52c0 "client on close" uv_udp_t: 0x7ffff03a59b0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7ffff03a52b0 } { client = uv_udp_t: 0x7ffff03a59a0, req = 0 } "client on send" uv_udp_t: 0x7ffff03a59a0 nil "server on recv" uv_udp_t: 0x7ffff03a52b0 "PING" { port = 58443, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7ffff03a52b0 "client on close" uv_udp_t: 0x7ffff03a59a0 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x7ffff03a52c0 } { client = uv_udp_t: 0x7ffff03a59b0, req = 0 } "client on send" uv_udp_t: 0x7ffff03a59b0 nil "server on recv" uv_udp_t: 0x7ffff03a52c0 "PING" { port = 42154, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0x7ffff03a52c0 "client on close" uv_udp_t: 0x7ffff03a59b0 ok 145 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 146 udp - udp send args { server = uv_udp_t: 0x7ffff03a59a0 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7ffff03a59a0 "PING" { port = 51010, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff03a59a0 "PING" { port = 56261, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff03a59a0 "PING" { port = 56261, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7ffff03a59a0 nil nil { } "server on recv" uv_udp_t: 0x7ffff03a59a0 "PING" { port = 41111, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7ffff03a52c0 "server on close" uv_udp_t: 0x7ffff03a59a0 ok 147 udp - udp connect "PING" { port = 52596, family = "inet", ip = "172.16.24.22" } "PING" { port = 52596, family = "inet", ip = "172.16.24.22" } ok 148 udp - udp multicast join ipv4 "PING" { port = 47923, family = "inet6", ip = "fe80::216:3eff:fe4b:4469" } "PING" { port = 47923, family = "inet6", ip = "fe80::216:3eff:fe4b:4469" } ok 149 udp - udp multicast join ipv6 "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } "PING" { port = 50219, family = "inet", ip = "127.0.0.1" } ok 150 udp - udp recvmmsg sent 5 out of 5, expecting 4 to be received "PING" { port = 9125, family = "inet", ip = "127.0.0.1" } "PING" { port = 9125, family = "inet", ip = "127.0.0.1" } "PING" { port = 9125, family = "inet", ip = "127.0.0.1" } "PING" { port = 9125, family = "inet", ip = "127.0.0.1" } ok 151 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { port = 39993, family = "inet", ip = "127.0.0.1" } "PING" { port = 39993, family = "inet", ip = "127.0.0.1" } "PING" { port = 39993, family = "inet", ip = "127.0.0.1" } "PING" { port = 39993, family = "inet", ip = "127.0.0.1" } "PING" { port = 39993, family = "inet", ip = "127.0.0.1" } ok 152 udp - udp try_send2 connected ok 153 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 154 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0x7fffefaffb20" "hello" uv_thread_t: 0x7fffefaffb20 finish hello ok 155 work - test threadpool with async 1 2 3 4 5 6 7 8 ok 156 work - test threadpool with coro ok 157 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 158 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit cmd: luajit cwd: /home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1 1..161 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7ffff3633aa0 "closed" uv_timer_t: 0x7ffff3633aa0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7ffff3633a00 "closed" { } uv_timer_t: 0x7ffff3633a00 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 Skipping! This test is expected to fail on Lua 5.1 and LuaJIT. ok 7 coroutines-require - callback should be in main thread begin wait end wait ok 8 coroutines - coroutines { { addr = "::1", socktype = "stream", protocol = "tcp", family = "inet6", port = 80 }, { addr = "127.0.0.1", socktype = "stream", protocol = "tcp", family = "inet", port = 80 } } 2 ok 9 dns - Get all local http addresses { { addr = "::1", socktype = "stream", protocol = "tcp", family = "inet6", port = 80 }, { addr = "127.0.0.1", socktype = "stream", protocol = "tcp", family = "inet", port = 80 } } 2 ok 10 dns - Get all local http addresses sync { { addr = "206.189.225.172", socktype = "stream", family = "inet", protocol = "tcp", canonname = "luvit.io" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", socktype = "stream", family = "inet", protocol = "tcp", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", family = "inet6", protocol = "tcp", canonname = "luvit.io" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", family = "inet6", canonname = "luvit.io" } } 4 ok 14 dns - Get all addresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 15 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 16 dns - Lookup local ipv4 address sync { hostname = "build-3-22-loongarch64.local", service = "0" } ok 17 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 18 dns - Lookup local ipv6 address { hostname = "build-3-22-loongarch64.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { type = "file", atime = table: 0x7ffff34a8e78, mtime = table: 0x7ffff34f14a8, size = 6066, dev = 2048, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 184836370, blksize = 4096, blocks = 16, flags = 0, gen = 0, ctime = table: 0x7ffff34fb750, birthtime = table: 0x7ffff34a5f18 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { type = "file", atime = table: 0x7ffff34a8e78, mtime = table: 0x7ffff34f14a8, dev = 2048, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 184836370, blksize = 4096, blocks = 16, flags = 0, gen = 0, ctime = table: 0x7ffff34e9ff8, birthtime = table: 0x7ffff34fb750, size = 6066 } } { chunk = 6066 } ok 23 fs - read a file async ok 24 fs - fs.write ok 25 fs - fs.write data refs ok 26 fs - fs.stat sync ok 27 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 28 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 29 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 30 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 31 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 32 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".gitattributes", 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", ftype = "directory" } { 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 33 fs - fs.scandir async ok 34 fs - fs.scandir with no iteration ok 35 fs - fs.scandir given to new_work "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" ok 36 fs - fs.realpath ok 37 fs - fs.copyfile { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } uv_dir_t: 0x7ffff34a7a48 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = "README.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "docs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "src", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "examples", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".github", type = "directory" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { name = "README.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "docs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".ci", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "cmake", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "src", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "Makefile", type = "file" }, { name = "examples", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = "tests", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-jit", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".github", type = "directory" } } ok 44 fs - fs.{open,read,close}dir ref check { ffree = 236395687, bsize = 4096, blocks = 961137872, bfree = 716773616, files = 244195328, type = 61267, bavail = 667931788 } ok 45 fs - fs.statfs sync { ffree = 236395687, bfree = 716773616, bavail = 667931788, bsize = 4096, blocks = 961137872, type = 61267, files = 244195328 } ok 46 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 47 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 48 fs - fs.statfs async error ok 49 fs - fs.mkdtemp async ok 50 fs - fs.mkdtemp sync ok 51 fs - fs.mkdtemp async error ok 52 fs - fs.mkdtemp sync error ok 53 fs - fs.mkstemp async ok 54 fs - fs.mkstemp sync ok 55 fs - fs.mkstemp async error ok 56 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 57 fs - errors with dest paths ok 58 fs - fs.utime ok 59 fs - fs.futime ok 60 fs - fs.lutime ok 61 handle - get type ok 62 loop - uv.loop_mode "stdout" { } #437 0 0 ok 63 loop - issue #437, crash without uv.run "stdout" { } #599 5 0 ok 64 loop - issue #599, crash during calling os.exit { loop_count = 77, events = 43, events_waiting = 0 } { loop_count = 78, events = 43, events_waiting = 0 } ok 65 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 66 misc - uv.guess_handle { version = 78592, version_string = "1.51.0" } ok 67 misc - uv.version and uv.version_string { available = 264462860288, free = 264462860288, rss = 2097152, total = 273614962688, constrained = 0 } ok 68 misc - memory size { uptime = 23453553.85 } ok 69 misc - uv.uptime { msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 76, nivcsw = 4, utime = { usec = 691077, sec = 0 }, stime = { usec = 8130, sec = 0 }, maxrss = 2048, ixrss = 0, idrss = 0, isrss = 0, minflt = 245, majflt = 0, nswap = 0, inblock = 0, oublock = 224 } ok 70 misc - uv.getrusage { utime = { usec = 688264, sec = 0 }, stime = { usec = 8097, sec = 0 }, maxrss = 2048, ixrss = 0, idrss = 0, isrss = 0, minflt = 225, majflt = 0, nswap = 0, inblock = 0, oublock = 160, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 23, nivcsw = 4 } ok 71 misc - uv.getrusage_thread 32 ok 72 misc - uv.available_parallelism { { model = "unknown", speed = 0, times = table: 0x7ffff34ef028 }, { model = "unknown", speed = 0, times = table: 0x7ffff34a3560 }, { model = "unknown", speed = 0, times = table: 0x7ffff34ae430 }, { model = "unknown", speed = 0, times = table: 0x7ffff34fb750 }, { model = "unknown", speed = 0, times = table: 0x7ffff34d2dc0 }, { model = "unknown", speed = 0, times = table: 0x7ffff34f0c28 }, { model = "unknown", speed = 0, times = table: 0x7ffff34fc930 }, { model = "unknown", speed = 0, times = table: 0x7ffff34ae530 }, { model = "unknown", speed = 0, times = table: 0x7ffff34aa188 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b1cd8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34fd220 }, { model = "unknown", speed = 0, times = table: 0x7ffff34a31c0 }, { model = "unknown", speed = 0, times = table: 0x7ffff34e9ff8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34a30f8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b4620 }, { model = "unknown", speed = 0, times = table: 0x7ffff34a5f18 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b7128 }, { model = "unknown", speed = 0, times = table: 0x7ffff34c4718 }, { model = "unknown", speed = 0, times = table: 0x7ffff34fede0 }, { model = "unknown", speed = 0, times = table: 0x7ffff34eefa8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34c86c8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34f23a0 }, { model = "unknown", speed = 0, times = table: 0x7ffff34d2c58 }, { model = "unknown", speed = 0, times = table: 0x7ffff34d39c0 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b2178 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b4228 }, { model = "unknown", speed = 0, times = table: 0x7ffff34d5be8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34a8db8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34ae2c8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34b4f80 }, { model = "unknown", speed = 0, times = table: 0x7ffff34de8a8 }, { model = "unknown", speed = 0, times = table: 0x7ffff34dcea8 } } ok 73 misc - uv.cpu_info "eth0" { { ip = "172.16.24.22", netmask = "255.255.255.0", family = "inet", internal = false, mac = "\0>KDi" }, { ip = "fe80::216:3eff:fe4b:4469", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false, mac = "\0>KDi" } } "lo" { { ip = "127.0.0.1", netmask = "255.0.0.0", family = "inet", internal = true, mac = "\0\0\0\0\0\0" }, { ip = "::1", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true, mac = "\0\0\0\0\0\0" } } ok 74 misc - uv.interface_addresses { 0.45, 0.36, 0.59 } ok 75 misc - uv.loadavg "/usr/bin/luajit-2.1.1723681758" ok 76 misc - uv.exepath "/home/buildozer" ok 77 misc - uv.os_homedir "/tmp" ok 78 misc - uv.os_tmpdir { homedir = "/home/buildozer", username = "buildozer", uid = 1000, gid = 1000, shell = "/bin/sh" } ok 79 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/" ok 80 misc - uv.cwd and uv.chdir 2.345355387054e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { sysname = "Linux", machine = "loongarch64", release = "6.6.47-0-lts", version = "#1-Alpine SMP PREEMPT 2024-08-19 08:00:37" } ok 83 misc - uv.os_uname os.time 1747519250 uv.gettimeofday 1747519250.000850 ok 84 misc - uv.gettimeofday ok 85 misc - uv.os_environ ok 86 misc - uv.sleep ok 87 misc - uv.random async ok 88 misc - uv.random sync ok 89 misc - uv.random errors ok 90 misc - uv errno ok 91 misc - uv constants 1024 nil ok 92 misc - uv.cpumask_size "monotonic" { nsec = 882285342, sec = 23453554 } nil "realtime" { nsec = 882307652, sec = 23453554 } nil ok 93 misc - uv.clock_gettime ok 94 misc - uv.wtf8 and utf16 conversion ok 95 misc - uv.wtf8<->utf16 unpaired surrogate ok 96 misc - uv.wtf8<->utf16 empty strings ok 97 pipe - pipe chmod ok 98 pipe - pipe ping pong ok 99 pipe - pipe close fd ok 100 pipe - pipe getsockname abstract "prepare" uv_prepare_t: 0x7ffff3633f50 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7ffff3633f50 "timeout" uv_timer_t: 0x7ffff3633a00 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7ffff3633f50 ok 103 prepare-check-idle-async - simple idle ok 104 prepare-check-idle-async - simple async ok 105 process - test disable_stdio_inheritance { pid = 4277, handle = uv_process_t: 0x7ffff3633a10 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 106 process - process stdout { pid = 4278, handle = uv_process_t: 0x7ffff3633aa0 } "exit" uv_process_t: 0x7ffff3633aa0 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { pid = 4279, handle = uv_process_t: 0x7ffff3633a00 } "exit" uv_process_t: 0x7ffff3633a00 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { pid = 4281, handle = uv_process_t: 0x7ffff3633a10 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 110 process - process stdio ok 111 process - get pid ok 112 req - cancel ok 113 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 4283, signal = 0, code = 0 } ok 114 signal - Catch SIGINT { address = { ip = "127.0.0.1", family = "inet", port = 45931 }, server = uv_tcp_t: 0x5555560135d0 } { req = uv_connect_t: 0x7ffff34e48b8, client = uv_tcp_t: 0x7ffff3632780 } "server on connection" uv_tcp_t: 0x5555560135d0 "client on connect" uv_tcp_t: 0x7ffff3632780 nil "client on shutdown" uv_tcp_t: 0x7ffff3632780 nil "client on close" uv_tcp_t: 0x7ffff3632780 ok 115 tcp - basic tcp server and client (ipv4) { address = { ip = "::1", family = "inet6", port = 43137 }, server = uv_tcp_t: 0x7ffff3632790 } { req = uv_connect_t: 0x7ffff34e48b8, client = uv_tcp_t: 0x7ffff36328e0 } "server on connection" uv_tcp_t: 0x7ffff3632790 "client on connect" uv_tcp_t: 0x7ffff36328e0 nil "client on shutdown" uv_tcp_t: 0x7ffff36328e0 nil "client on close" uv_tcp_t: 0x7ffff36328e0 ok 116 tcp - basic tcp server and client (ipv6) { address = { ip = "127.0.0.1", family = "inet", port = 33101 }, server = uv_tcp_t: 0x7ffff36327a0 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328f0 } "client onwrite" uv_tcp_t: 0x7ffff36328f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { ip = "127.0.0.1", family = "inet", port = 39883 }, server = uv_tcp_t: 0x7ffff36327b0 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328b0 } "client onwrite" uv_tcp_t: 0x7ffff36328b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 118 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 119 tcp - tcp invalid ip address { address = { ip = "127.0.0.1", family = "inet", port = 33021 }, server = uv_tcp_t: 0x7ffff3632780 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328c0 } "client onwrite" uv_tcp_t: 0x7ffff36328c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { ip = "127.0.0.1", family = "inet", port = 46027 }, server = uv_tcp_t: 0x7ffff3632790 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328d0 } "client onwrite" uv_tcp_t: 0x7ffff36328d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { ip = "127.0.0.1", family = "inet", port = 38969 }, server = uv_tcp_t: 0x7ffff36327a0 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328e0 } "client onwrite" uv_tcp_t: 0x7ffff36328e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { ip = "127.0.0.1", family = "inet", port = 45825 }, server = uv_tcp_t: 0x7ffff36327b0 } { req = uv_write_t: 0x7ffff34fa4a8, socket = uv_tcp_t: 0x7ffff36328f0 } "client onwrite" uv_tcp_t: 0x7ffff36328f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 123 tcp - tcp close reset accepted after shutdown ok 124 tcp - socketpair ping pong In uv_thread_t: 0x7ffff139fb20 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x7ffff3702d10 Running uv_thread_t: 0x7ffff3702d10 { delay = 100, elapsed = 101 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 100 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x7ffff3633a00 "closed" uv_timer_t: 0x7ffff3633a00 ok 136 timer - simple timeout "interval" uv_timer_t: 0x7ffff3633aa0 "interval" uv_timer_t: 0x7ffff3633aa0 "interval" uv_timer_t: 0x7ffff3633aa0 "closed" uv_timer_t: 0x7ffff3633aa0 ok 137 timer - simple interval "interval" uv_timer_t: 0x7ffff3633aa0 "timeout" uv_timer_t: 0x7ffff3633a00 "interval" uv_timer_t: 0x7ffff3633aa0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x7ffff3633a00 0 "interval" uv_timer_t: 0x7ffff3633a00 8 "interval" uv_timer_t: 0x7ffff3633a00 4 "interval" uv_timer_t: 0x7ffff3633a00 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x7ffff3633aa0 0 "interval" uv_timer_t: 0x7ffff3633aa0 8 "interval" uv_timer_t: 0x7ffff3633aa0 4 "interval" uv_timer_t: 0x7ffff3633aa0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout Skip, no tty on the builders ok 143 tty - tty normal ok 144 tty - tty pty Skip, open /dev/tty fail ok 145 tty - tty device { server = uv_udp_t: 0x7ffff3703f10 } { req = 0, client = uv_udp_t: 0x5555560131d0 } "client on send" uv_udp_t: 0x5555560131d0 nil "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "127.0.0.1", family = "inet", port = 42015 } { } "server on close" uv_udp_t: 0x7ffff3703f10 "client on close" uv_udp_t: 0x5555560131d0 ok 146 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7ffff3703f20 } { req = 0, client = uv_udp_t: 0x5555560131c0 } "client on send" uv_udp_t: 0x5555560131c0 nil "server on recv" uv_udp_t: 0x7ffff3703f20 "PING" { ip = "127.0.0.1", family = "inet", port = 47274 } { } "server on close" uv_udp_t: 0x7ffff3703f20 "client on close" uv_udp_t: 0x5555560131c0 ok 147 udp - basic udp send from table { server = uv_udp_t: 0x7ffff3703f10 } { req = 0, client = uv_udp_t: 0x5555560131d0 } "client on send" uv_udp_t: 0x5555560131d0 nil "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "::1", family = "inet6", port = 59638 } { } "server on close" uv_udp_t: 0x7ffff3703f10 "client on close" uv_udp_t: 0x5555560131d0 ok 148 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 149 udp - udp send args { server = uv_udp_t: 0x7ffff3703f10 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "127.0.0.1", family = "inet", port = 42877 } { } "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "127.0.0.1", family = "inet", port = 43163 } { } "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "127.0.0.1", family = "inet", port = 43163 } { } "server on recv" uv_udp_t: 0x7ffff3703f10 nil nil { } "server on recv" uv_udp_t: 0x7ffff3703f10 "PING" { ip = "127.0.0.1", family = "inet", port = 48072 } { } "client on close" uv_udp_t: 0x5555560131c0 "server on close" uv_udp_t: 0x7ffff3703f10 ok 150 udp - udp connect "PING" { ip = "172.16.24.22", family = "inet", port = 55426 } "PING" { ip = "172.16.24.22", family = "inet", port = 55426 } ok 151 udp - udp multicast join ipv4 "PING" { ip = "fe80::216:3eff:fe4b:4469", family = "inet6", port = 41144 } "PING" { ip = "fe80::216:3eff:fe4b:4469", family = "inet6", port = 41144 } ok 152 udp - udp multicast join ipv6 "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } "PING" { ip = "127.0.0.1", family = "inet", port = 52930 } ok 153 udp - udp recvmmsg sent 5 out of 5, expecting 4 to be received "PING" { ip = "127.0.0.1", family = "inet", port = 9125 } "PING" { ip = "127.0.0.1", family = "inet", port = 9125 } "PING" { ip = "127.0.0.1", family = "inet", port = 9125 } "PING" { ip = "127.0.0.1", family = "inet", port = 9125 } ok 154 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { ip = "127.0.0.1", family = "inet", port = 37886 } "PING" { ip = "127.0.0.1", family = "inet", port = 37886 } "PING" { ip = "127.0.0.1", family = "inet", port = 37886 } "PING" { ip = "127.0.0.1", family = "inet", port = 37886 } "PING" { ip = "127.0.0.1", family = "inet", port = 37886 } ok 155 udp - udp try_send2 connected ok 156 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 157 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0x7ffff2c97b20" "hello" uv_thread_t: 0x7ffff2c97b20 finish hello ok 158 work - test threadpool with async 1 2 3 4 5 7 8 ok 159 work - test threadpool with coro ok 160 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: at 0x7ffff359367c ok 161 work - test threadpool with invalid return value # All tests passed hello world from thread priority in thread 0 hello world from detached 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.51.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-loongarch64.so.1 so:libuv.so.1 >>> libluv*: Package size: 193.7 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.51.0.1-r0.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.51.0.1-r0 pkgconfig >>> lua-luv-dev*: Package size: 9.2 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.51.0.1-r0.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 600.6 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.51.0.1-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.51.0.1-r0.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-loongarch64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 193.7 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.51.0.1-r0.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-loongarch64.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 193.7 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.51.0.1-r0.apk >>> lua-luv: Build complete at Sat, 17 May 2025 22:00:56 +0000 elapsed time 0h 0m 49s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/16) Purging .makedepends-lua-luv (20250517.220008) (2/16) Purging cmake (3.31.7-r1) (3/16) Purging libuv-dev (1.51.0-r0) (4/16) Purging libuv (1.51.0-r0) (5/16) Purging lua-compat53-dev (0.13-r0) (6/16) Purging luajit-dev (2.1_p20240815-r1) (7/16) Purging luajit (2.1_p20240815-r1) (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.9-r0) (13/16) Purging libbz2 (1.0.8-r6) (14/16) Purging rhash-libs (1.4.5-r0) (15/16) Purging samurai (1.2-r7) (16/16) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r17.trigger OK: 251 MiB in 102 packages >>> lua-luv: Updating the community/loongarch64 repository index... >>> lua-luv: Signing the index...