>>> lua-luv: Building community/lua-luv 1.51.0.1-r0 (using abuild 3.15.0_rc3-r3) started Sun, 18 May 2025 12:39:36 +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 lua5.1-dev lua5.4-dev (1/14) Installing libbz2 (1.0.8-r6) (2/14) Installing xz-libs (5.8.1-r0) (3/14) Installing libarchive (3.7.9-r0) (4/14) Installing rhash-libs (1.4.5-r0) (5/14) Installing libuv (1.51.0-r0) (6/14) Installing cmake (3.31.7-r1) (7/14) Installing libuv-dev (1.51.0-r0) (8/14) Installing lua-compat53-dev (0.13-r0) (9/14) Installing samurai (1.2-r7) (10/14) Installing lua5.1-libs (5.1.5-r13) (11/14) Installing lua5.1 (5.1.5-r13) (12/14) Installing lua5.1-dev (5.1.5-r13) (13/14) Installing lua5.4-dev (5.4.7-r0) (14/14) Installing .makedepends-lua-luv (20250518.123939) Executing busybox-1.37.0-r17.trigger OK: 391 MiB in 115 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/lua-luv-1.51.0-1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.22/lua-luv-1.51.0-1.tar.gz.part' lua-luv-1.51.0-1.tar 100% |********************************| 211k 0:00:00 ETA '/var/cache/distfiles/v3.22/lua-luv-1.51.0-1.tar.gz.part' saved >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/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/v3.22/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.9s) -- 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 (1.0s) -- 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.5") -- Configuring done (0.9s) -- 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 shared module luv.so [4/4] Linking C static library libluv.a >>> 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: 0x3fb76f2a90 "closed" uv_timer_t: 0x3fb76f2a90 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3fb76f2a90 "closed" { } uv_timer_t: 0x3fb76f2a90 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-riscv64.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-riscv64.local" } ok 19 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 20 dns - Lookup local port 80 service { fd = 18 } { stat = { nlink = 1, ino = 19952875, mtime = table: 0x3fb771e9b0, gid = 102, mode = 33188, size = 6066, dev = 66306, gen = 0, rdev = 0, atime = table: 0x3fb771e910, blksize = 4096, uid = 101, type = "file", flags = 0, ctime = table: 0x3fb771ea00, birthtime = table: 0x3fb771ea50, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 18 } { stat = { nlink = 1, ino = 19952875, mtime = table: 0x3fb7750940, gid = 102, mode = 33188, size = 6066, dev = 66306, gen = 0, rdev = 0, atime = table: 0x3fb77508f0, blksize = 4096, uid = 101, type = "file", flags = 0, ctime = table: 0x3fb7750a30, birthtime = table: 0x3fb7750a80, 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-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-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 = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } uv_dir_t: 0x3fb7750368 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 44 fs - fs.{open,read,close}dir ref check { bavail = 146927378, type = 61267, bsize = 4096, files = 62488576, bfree = 156933577, ffree = 55038543, blocks = 246019638 } ok 45 fs - fs.statfs sync { bavail = 146927377, type = 61267, bsize = 4096, files = 62488576, bfree = 156933576, ffree = 55038543, blocks = 246019638 } 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 = 1908736, total = 134103621632, free = 125749121024, constrained = 0, available = 125749121024 } ok 68 misc - memory size { uptime = 2668014.83 } ok 69 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 499762, sec = 0 }, oublock = 80, stime = { usec = 416468, sec = 0 }, nivcsw = 11, minflt = 1289, idrss = 0, majflt = 0, nvcsw = 72, isrss = 0, nswap = 0, maxrss = 2424, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 70 misc - uv.getrusage { inblock = 0, nsignals = 0, utime = { usec = 500126, sec = 0 }, oublock = 64, stime = { usec = 405614, sec = 0 }, nivcsw = 11, minflt = 1219, idrss = 0, majflt = 0, nvcsw = 22, isrss = 0, nswap = 0, maxrss = 2424, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 71 misc - uv.getrusage_thread 64 ok 72 misc - uv.available_parallelism { { speed = 0, times = table: 0x3fb77193f0, model = "unknown" }, { speed = 0, times = table: 0x3fb7719490, model = "unknown" }, { speed = 0, times = table: 0x3fb7719670, model = "unknown" }, { speed = 0, times = table: 0x3fb7719760, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4030, model = "unknown" }, { speed = 0, times = table: 0x3fb76f40d0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4170, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4210, model = "unknown" }, { speed = 0, times = table: 0x3fb76f42b0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4440, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4670, model = "unknown" }, { speed = 0, times = table: 0x3fb7731260, model = "unknown" }, { speed = 0, times = table: 0x3fb7731490, model = "unknown" }, { speed = 0, times = table: 0x3fb77315d0, model = "unknown" }, { speed = 0, times = table: 0x3fb7731710, model = "unknown" }, { speed = 0, times = table: 0x3fb7758980, model = "unknown" }, { speed = 0, times = table: 0x3fb7758a70, model = "unknown" }, { speed = 0, times = table: 0x3fb7758c50, model = "unknown" }, { speed = 0, times = table: 0x3fb7758d90, model = "unknown" }, { speed = 0, times = table: 0x3fb7758f20, model = "unknown" }, { speed = 0, times = table: 0x3fb7761070, model = "unknown" }, { speed = 0, times = table: 0x3fb7761200, model = "unknown" }, { speed = 0, times = table: 0x3fb7784a20, model = "unknown" }, { speed = 0, times = table: 0x3fb7784b10, model = "unknown" }, { speed = 0, times = table: 0x3fb7784bb0, model = "unknown" }, { speed = 0, times = table: 0x3fb775d280, model = "unknown" }, { speed = 0, times = table: 0x3fb7752ac0, model = "unknown" }, { speed = 0, times = table: 0x3fb7752b60, model = "unknown" }, { speed = 0, times = table: 0x3fb7752d40, model = "unknown" }, { speed = 0, times = table: 0x3fb771d050, model = "unknown" }, { speed = 0, times = table: 0x3fb771d1e0, model = "unknown" }, { speed = 0, times = table: 0x3fb771d460, model = "unknown" }, { speed = 0, times = table: 0x3fb771d5a0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f4eb0, model = "unknown" }, { speed = 0, times = table: 0x3fb77178b0, model = "unknown" }, { speed = 0, times = table: 0x3fb7717950, model = "unknown" }, { speed = 0, times = table: 0x3fb7717ae0, model = "unknown" }, { speed = 0, times = table: 0x3fb7717bd0, model = "unknown" }, { speed = 0, times = table: 0x3fb7717c70, model = "unknown" }, { speed = 0, times = table: 0x3fb7717db0, model = "unknown" }, { speed = 0, times = table: 0x3fb7717ea0, model = "unknown" }, { speed = 0, times = table: 0x3fb7717f40, model = "unknown" }, { speed = 0, times = table: 0x3fb7784000, model = "unknown" }, { speed = 0, times = table: 0x3fb77840f0, model = "unknown" }, { speed = 0, times = table: 0x3fb771e820, model = "unknown" }, { speed = 0, times = table: 0x3fb771e910, model = "unknown" }, { speed = 0, times = table: 0x3fb771ea00, model = "unknown" }, { speed = 0, times = table: 0x3fb771eaf0, model = "unknown" }, { speed = 0, times = table: 0x3fb771eb90, model = "unknown" }, { speed = 0, times = table: 0x3fb771ee10, model = "unknown" }, { speed = 0, times = table: 0x3fb76f57b0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5850, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5a30, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5bc0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5d50, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5df0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f5f30, model = "unknown" }, { speed = 0, times = table: 0x3fb76f3050, model = "unknown" }, { speed = 0, times = table: 0x3fb76f30f0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f3190, model = "unknown" }, { speed = 0, times = table: 0x3fb76f3230, model = "unknown" }, { speed = 0, times = table: 0x3fb76f32d0, model = "unknown" }, { speed = 0, times = table: 0x3fb76f3370, model = "unknown" }, { speed = 0, times = table: 0x3fb76f3460, 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>ë", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.30.22" }, { mac = "\0>ë", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe02:1eeb" } } ok 74 misc - uv.interface_addresses { 25.16, 23.45, 30.06 } 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 = 101, gid = 102, 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.6680148738296e+15 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { release = "6.1.80-0-sophgo", machine = "riscv64", version = "#1-Alpine SMP PREEMPT Mon, 26 Aug 2024 10:06:58 +0000", sysname = "Linux" } ok 83 misc - uv.os_uname os.time 1747572052 uv.gettimeofday 1747572052.000171 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 = 899275424, sec = 2668015 } nil "realtime" { nsec = 899355184, sec = 2668015 } 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: 0x3fb7759510 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3fb7759590 "timeout" uv_timer_t: 0x3fb76f2a90 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3fb7759810 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: 0x3fb76f1c70, pid = 54226 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3fb76f1eb0, pid = 54227 } "exit" uv_process_t: 0x3fb76f1eb0 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3fb770fb50, pid = 54228 } "exit" uv_process_t: 0x3fb770fb50 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3fb7732de0, pid = 54230 } "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 = 54232, code = 0 } ok 114 signal - Catch SIGINT { address = { family = "inet", port = 38141, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb76e85c0 } { req = uv_connect_t: 0x3fb76f1a58, client = uv_tcp_t: 0x3fb76e86e0 } "server on connection" uv_tcp_t: 0x3fb76e85c0 "client on connect" uv_tcp_t: 0x3fb76e86e0 nil "client on shutdown" uv_tcp_t: 0x3fb76e86e0 nil "client on close" uv_tcp_t: 0x3fb76e86e0 ok 115 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 44631, ip = "::1" }, server = uv_tcp_t: 0x3fb76e8800 } { req = uv_connect_t: 0x3fb76f1ae8, client = uv_tcp_t: 0x3fb76e8920 } "server on connection" uv_tcp_t: 0x3fb76e8800 "client on connect" uv_tcp_t: 0x3fb76e8920 nil "client on shutdown" uv_tcp_t: 0x3fb76e8920 nil "client on close" uv_tcp_t: 0x3fb76e8920 ok 116 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 34681, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb76d85c0 } { req = uv_write_t: 0x3fb77fbd18, socket = uv_tcp_t: 0x3fb76d8930 } "client onwrite" uv_tcp_t: 0x3fb76d8930 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { family = "inet", port = 44159, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb76d8db0 } { req = uv_write_t: 0x3fb7767ec8, socket = uv_tcp_t: 0x3fb76d8ed0 } "client onwrite" uv_tcp_t: 0x3fb76d8ed0 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 = 43823, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb773aed0 } { req = uv_write_t: 0x3fb778eae8, socket = uv_tcp_t: 0x3fb77096f0 } "client onwrite" uv_tcp_t: 0x3fb77096f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { family = "inet", port = 45805, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb774d950 } { req = uv_write_t: 0x3fb77fbd18, socket = uv_tcp_t: 0x3fb7785360 } "client onwrite" uv_tcp_t: 0x3fb7785360 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { family = "inet", port = 44525, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb76e85d0 } { req = uv_write_t: 0x3fb778eae8, socket = uv_tcp_t: 0x3fb76e86f0 } "client onwrite" uv_tcp_t: 0x3fb76e86f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { family = "inet", port = 38029, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3fb76e8930 } { req = uv_write_t: 0x3fb7767ec8, socket = uv_tcp_t: 0x3fb76d85d0 } "client onwrite" uv_tcp_t: 0x3fb76d85d0 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: 0x3fb56bcb20 { delay = 100, elapsed = 104 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3fb78c7cd0 Running uv_thread_t: 0x3fb78c7cd0 { delay = 100, elapsed = 101 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 104 } 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: 0x3fb76f2a90 "closed" uv_timer_t: 0x3fb76f2a90 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3fb76f2a90 "interval" uv_timer_t: 0x3fb76f2a90 "interval" uv_timer_t: 0x3fb76f2a90 "closed" uv_timer_t: 0x3fb76f2a90 ok 137 timer - simple interval "interval" uv_timer_t: 0x3fb76f7f60 "timeout" uv_timer_t: 0x3fb76f2a90 "interval" uv_timer_t: 0x3fb76f7f60 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3fb76f2a90 0 "interval" uv_timer_t: 0x3fb76f2a90 8 "interval" uv_timer_t: 0x3fb76f2a90 4 "interval" uv_timer_t: 0x3fb76f2a90 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3fb76f2a90 0 "interval" uv_timer_t: 0x3fb76f2a90 8 "interval" uv_timer_t: 0x3fb76f2a90 4 "interval" uv_timer_t: 0x3fb76f2a90 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3fb77fbd00 } { req = 0, client = uv_udp_t: 0x3fb7755fb0 } "client on send" uv_udp_t: 0x3fb7755fb0 nil "server on recv" uv_udp_t: 0x3fb77fbd00 "PING" { family = "inet", port = 44605, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3fb77fbd00 "client on close" uv_udp_t: 0x3fb7755fb0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3fb7767eb0 } { req = 0, client = uv_udp_t: 0x3fb77561a0 } "client on send" uv_udp_t: 0x3fb77561a0 nil "server on recv" uv_udp_t: 0x3fb7767eb0 "PING" { family = "inet", port = 46945, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3fb7767eb0 "client on close" uv_udp_t: 0x3fb77561a0 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3fb778ead0 } { req = 0, client = uv_udp_t: 0x3fb7756390 } "client on send" uv_udp_t: 0x3fb7756390 nil "server on recv" uv_udp_t: 0x3fb778ead0 "PING" { family = "inet6", port = 42699, ip = "::1" } { } "server on close" uv_udp_t: 0x3fb778ead0 "client on close" uv_udp_t: 0x3fb7756390 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: 0x3fb77fbcf0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x3fb77fbcf0 "PING" { family = "inet", port = 55297, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3fb77fbcf0 "PING" { family = "inet", port = 48896, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3fb77fbcf0 "PING" { family = "inet", port = 48896, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3fb77fbcf0 nil nil { } "server on recv" uv_udp_t: 0x3fb77fbcf0 "PING" { family = "inet", port = 58447, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x3fb778ead0 "server on close" uv_udp_t: 0x3fb77fbcf0 ok 147 udp - udp connect "PING" { family = "inet", port = 50761, ip = "172.16.30.22" } "PING" { family = "inet", port = 50761, ip = "172.16.30.22" } ok 148 udp - udp multicast join ipv4 "PING" { family = "inet6", port = 33724, ip = "fe80::216:3eff:fe02:1eeb" } "PING" { family = "inet6", port = 33724, ip = "fe80::216:3eff:fe02:1eeb" } ok 149 udp - udp multicast join ipv6 "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, ip = "127.0.0.1" } "PING" { family = "inet", port = 37949, 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 = 46739, ip = "127.0.0.1" } "PING" { family = "inet", port = 46739, ip = "127.0.0.1" } "PING" { family = "inet", port = 46739, ip = "127.0.0.1" } "PING" { family = "inet", port = 46739, ip = "127.0.0.1" } "PING" { family = "inet", port = 46739, 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: 0x3fb6ed4b20" "hello" uv_thread_t: 0x3fb6ed4b20 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: 0x3f9f688ad0 "closed" uv_timer_t: 0x3f9f688ad0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3f9f688b70 "closed" { } uv_timer_t: 0x3f9f688b70 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 { { protocol = "tcp", addr = "::1", port = 80, family = "inet6", socktype = "stream" }, { protocol = "tcp", addr = "127.0.0.1", port = 80, family = "inet", socktype = "stream" } } 2 ok 9 dns - Get all local http addresses { { protocol = "tcp", addr = "::1", port = 80, family = "inet6", socktype = "stream" }, { protocol = "tcp", addr = "127.0.0.1", port = 80, family = "inet", socktype = "stream" } } 2 ok 10 dns - Get all local http addresses sync { { protocol = "tcp", addr = "206.189.225.172", canonname = "luvit.io", family = "inet", socktype = "stream" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", family = "inet6", socktype = "stream" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { protocol = "tcp", addr = "206.189.225.172", canonname = "luvit.io", family = "inet", socktype = "stream" }, { protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", family = "inet6", socktype = "stream" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { protocol = "tcp", addr = "206.189.225.172", canonname = "luvit.io", family = "inet", socktype = "stream" }, { protocol = "udp", addr = "206.189.225.172", canonname = "luvit.io", family = "inet", socktype = "dgram" }, { protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", family = "inet6", socktype = "stream" }, { protocol = "udp", addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", family = "inet6", socktype = "dgram" } } 4 ok 14 dns - Get all addresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 15 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 16 dns - Lookup local ipv4 address sync { hostname = "build-3-22-riscv64.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-riscv64.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 18 } { stat = { blksize = 4096, dev = 66306, flags = 0, ctime = table: 0x3f9f66fe90, mode = 33188, uid = 101, size = 6066, gen = 0, atime = table: 0x3f9f66fd90, mtime = table: 0x3f9f66fe10, birthtime = table: 0x3f9f6a76c0, rdev = 0, type = "file", nlink = 1, ino = 19952875, blocks = 16, gid = 102 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 18 } { stat = { blksize = 4096, dev = 66306, flags = 0, ctime = table: 0x3f9f68bdb0, mode = 33188, uid = 101, size = 6066, gen = 0, atime = table: 0x3f9f6c62e0, mtime = table: 0x3f9f68bc70, birthtime = table: 0x3f9f68be70, rdev = 0, type = "file", nlink = 1, ino = 19952875, blocks = 16, gid = 102 } } { 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-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-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 = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } uv_dir_t: 0x3f9f66eeb8 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = "src", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = ".ci", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".gitattributes", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { name = "src", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = ".ci", type = "directory" }, { name = ".github", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs", type = "directory" }, { name = "deps", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".gitattributes", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-static", type = "directory" }, { name = "README.md", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "cmake", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" } } ok 44 fs - fs.{open,read,close}dir ref check { bavail = 146922168, files = 62488576, type = 61267, ffree = 55038543, bfree = 156928367, blocks = 246019638, bsize = 4096 } ok 45 fs - fs.statfs sync { bavail = 146922166, files = 62488576, type = 61267, ffree = 55038543, bfree = 156928365, blocks = 246019638, bsize = 4096 } 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 = 43, events_waiting = 0 } { loop_count = 79, 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 = 2080768, free = 126509162496.0, constrained = 0.0, available = 126509162496.0, total = 134103621632.0 } ok 68 misc - memory size { uptime = 2668025.12 } ok 69 misc - uv.uptime { utime = { sec = 0, usec = 369720 }, oublock = 80, nvcsw = 75, nsignals = 0, msgrcv = 0, inblock = 0, stime = { sec = 0, usec = 443079 }, msgsnd = 0, idrss = 0, ixrss = 0, nivcsw = 8, minflt = 1162, isrss = 0, maxrss = 2376, nswap = 0, majflt = 0 } ok 70 misc - uv.getrusage { utime = { sec = 0, usec = 368095 }, oublock = 64, nvcsw = 25, nsignals = 0, msgrcv = 0, inblock = 0, stime = { sec = 0, usec = 436113 }, msgsnd = 0, idrss = 0, ixrss = 0, nivcsw = 8, minflt = 1102, isrss = 0, maxrss = 2376, nswap = 0, majflt = 0 } ok 71 misc - uv.getrusage_thread 64 ok 72 misc - uv.available_parallelism { { model = "unknown", speed = 0.0, times = table: 0x3f9d644040 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d644440 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6445c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9f69d950 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d644540 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d644600 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d645fc0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6460c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6461c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6462c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6463c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6464c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6465c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6466c0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646000 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646200 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646400 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646600 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646080 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646480 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646180 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d646380 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d648fa0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6490a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6491a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6492a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6493a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6494a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6495a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6496a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d649060 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d649260 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d649460 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d649660 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6491e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6495e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6494e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d644fe0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6450e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6451e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6452e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6453e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6454e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6455e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6456e0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d645020 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d645220 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d645420 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d645620 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6450a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6454a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6451a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d6453a0 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d649f80 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a080 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a180 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a280 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a380 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a480 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a580 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a680 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a040 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a240 }, { model = "unknown", speed = 0.0, times = table: 0x3f9d64a440 } } ok 73 misc - uv.cpu_info "eth0" { { mac = "\0>ë", ip = "172.16.30.22", internal = false, family = "inet", netmask = "255.255.255.0" }, { mac = "\0>ë", ip = "fe80::216:3eff:fe02:1eeb", internal = false, family = "inet6", netmask = "ffff:ffff:ffff:ffff::" } } "lo" { { mac = "\0\0\0\0\0\0", ip = "127.0.0.1", internal = true, family = "inet", netmask = "255.0.0.0" }, { mac = "\0\0\0\0\0\0", ip = "::1", internal = true, family = "inet6", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } ok 74 misc - uv.interface_addresses { 22.14, 22.86, 29.79 } 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 { username = "buildozer", shell = "/bin/sh", gid = 102, uid = 101, homedir = "/home/buildozer" } 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.6680251459409e+15 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { sysname = "Linux", machine = "riscv64", version = "#1-Alpine SMP PREEMPT Mon, 26 Aug 2024 10:06:58 +0000", release = "6.1.80-0-sophgo" } ok 83 misc - uv.os_uname os.time 1747572062 uv.gettimeofday 1747572062.000441 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" { sec = 2668026, nsec = 160501560 } nil "realtime" { sec = 2668026, nsec = 160576060 } 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: 0x3f9f6b91a0 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3f9f6b9220 "timeout" uv_timer_t: 0x3f9f688ad0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3f9f6b92a0 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: 0x3f9f6b5880, pid = 54254 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3f9f6b5be0, pid = 54255 } "exit" uv_process_t: 0x3f9f6b5be0 { signal = 2, status = 0 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3f9f6b5c70, pid = 54256 } "exit" uv_process_t: 0x3f9f6b5c70 { signal = 15, status = 0 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3f9f6b5d90, pid = 54258 } "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" { code = 0, signal = 0, pid = 54260 } ok 114 signal - Catch SIGINT { server = uv_tcp_t: 0x3f9f671c20, address = { port = 38901, family = "inet", ip = "127.0.0.1" } } { req = uv_connect_t: 0x3f9f688d88, client = uv_tcp_t: 0x3f9f6d3130 } "server on connection" uv_tcp_t: 0x3f9f671c20 "client on connect" uv_tcp_t: 0x3f9f6d3130 nil "client on shutdown" uv_tcp_t: 0x3f9f6d3130 nil "client on close" uv_tcp_t: 0x3f9f6d3130 ok 115 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x3f9f6d36d0, address = { port = 34889, family = "inet6", ip = "::1" } } { req = uv_connect_t: 0x3f9f686058, client = uv_tcp_t: 0x3f9f671c30 } "server on connection" uv_tcp_t: 0x3f9f6d36d0 "client on connect" uv_tcp_t: 0x3f9f671c30 nil "client on shutdown" uv_tcp_t: 0x3f9f671c30 nil "client on close" uv_tcp_t: 0x3f9f671c30 ok 116 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x3f9f671c10, address = { port = 33237, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f69eef8, socket = uv_tcp_t: 0x3f9f6d3120 } "client onwrite" uv_tcp_t: 0x3f9f6d3120 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { server = uv_tcp_t: 0x3f9f69eed0, address = { port = 38599, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f671e88, socket = uv_tcp_t: 0x3f9f671b00 } "client onwrite" uv_tcp_t: 0x3f9f671b00 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 { server = uv_tcp_t: 0x3f9f66d810, address = { port = 46093, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f6d3158, socket = uv_tcp_t: 0x3f9f691b20 } "client onwrite" uv_tcp_t: 0x3f9f691b20 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { server = uv_tcp_t: 0x3f9f671b00, address = { port = 40247, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f66dce8, socket = uv_tcp_t: 0x3f9f671e50 } "client onwrite" uv_tcp_t: 0x3f9f671e50 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x3f9f66d830, address = { port = 43655, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f671b48, socket = uv_tcp_t: 0x3f9f6d3120 } "client onwrite" uv_tcp_t: 0x3f9f6d3120 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { server = uv_tcp_t: 0x3f9f66dcb0, address = { port = 34585, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3f9f671ea8, socket = uv_tcp_t: 0x3f9f671af0 } "client onwrite" uv_tcp_t: 0x3f9f671af0 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: 0x3f9d622b20 { delay = 100, elapsed = 103 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3f9f8adcd0 Running uv_thread_t: 0x3f9f8adcd0 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 103 } 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: 0x3f9f686020 "closed" uv_timer_t: 0x3f9f686020 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3f9f688ad0 "interval" uv_timer_t: 0x3f9f688ad0 "interval" uv_timer_t: 0x3f9f688ad0 "closed" uv_timer_t: 0x3f9f688ad0 ok 137 timer - simple interval "interval" uv_timer_t: 0x3f9f688d50 "timeout" uv_timer_t: 0x3f9f688cb0 "interval" uv_timer_t: 0x3f9f688d50 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3f9f686020 0 "interval" uv_timer_t: 0x3f9f686020 8 "interval" uv_timer_t: 0x3f9f686020 4 "interval" uv_timer_t: 0x3f9f686020 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3f9f688ad0 0 "interval" uv_timer_t: 0x3f9f688ad0 8 "interval" uv_timer_t: 0x3f9f688ad0 4 "interval" uv_timer_t: 0x3f9f688ad0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3f9d6526b0 } { req = 0, client = uv_udp_t: 0x3f9d652da0 } "client on send" uv_udp_t: 0x3f9d652da0 nil "server on recv" uv_udp_t: 0x3f9d6526b0 "PING" { port = 55530, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3f9d6526b0 "client on close" uv_udp_t: 0x3f9d652da0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3f9d6526a0 } { req = 0, client = uv_udp_t: 0x3f9d652d90 } "client on send" uv_udp_t: 0x3f9d652d90 nil "server on recv" uv_udp_t: 0x3f9d6526a0 "PING" { port = 55449, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3f9d6526a0 "client on close" uv_udp_t: 0x3f9d652d90 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3f9d6526b0 } { req = 0, client = uv_udp_t: 0x3f9d652da0 } "client on send" uv_udp_t: 0x3f9d652da0 nil "server on recv" uv_udp_t: 0x3f9d6526b0 "PING" { port = 36419, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0x3f9d6526b0 "client on close" uv_udp_t: 0x3f9d652da0 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: 0x3f9d652d90 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x3f9d652d90 "PING" { port = 49973, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3f9d652d90 "PING" { port = 49404, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3f9d652d90 "PING" { port = 49404, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3f9d652d90 nil nil { } "server on recv" uv_udp_t: 0x3f9d652d90 "PING" { port = 45035, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x3f9d6526b0 "server on close" uv_udp_t: 0x3f9d652d90 ok 147 udp - udp connect "PING" { port = 45788, family = "inet", ip = "172.16.30.22" } "PING" { port = 45788, family = "inet", ip = "172.16.30.22" } ok 148 udp - udp multicast join ipv4 "PING" { port = 50758, family = "inet6", ip = "fe80::216:3eff:fe02:1eeb" } "PING" { port = 50758, family = "inet6", ip = "fe80::216:3eff:fe02:1eeb" } ok 149 udp - udp multicast join ipv6 "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, family = "inet", ip = "127.0.0.1" } "PING" { port = 55221, 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 = 56666, family = "inet", ip = "127.0.0.1" } "PING" { port = 56666, family = "inet", ip = "127.0.0.1" } "PING" { port = 56666, family = "inet", ip = "127.0.0.1" } "PING" { port = 56666, family = "inet", ip = "127.0.0.1" } "PING" { port = 56666, 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: 0x3f9e65eb20" "hello" uv_thread_t: 0x3f9e65eb20 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: 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-riscv64.so.1 so:libuv.so.1 >>> libluv*: Package size: 157.8 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: 735.5 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-riscv64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 157.8 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-riscv64.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 157.8 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 Sun, 18 May 2025 12:41:10 +0000 elapsed time 0h 1m 34s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/14) Purging .makedepends-lua-luv (20250518.123939) (2/14) Purging cmake (3.31.7-r1) (3/14) Purging libuv-dev (1.51.0-r0) (4/14) Purging libuv (1.51.0-r0) (5/14) Purging lua-compat53-dev (0.13-r0) (6/14) Purging lua5.1-dev (5.1.5-r13) (7/14) Purging lua5.1 (5.1.5-r13) (8/14) Purging lua5.1-libs (5.1.5-r13) (9/14) Purging lua5.4-dev (5.4.7-r0) (10/14) Purging libarchive (3.7.9-r0) (11/14) Purging libbz2 (1.0.8-r6) (12/14) Purging rhash-libs (1.4.5-r0) (13/14) Purging samurai (1.2-r7) (14/14) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r17.trigger OK: 338 MiB in 101 packages >>> lua-luv: Updating the community/riscv64 repository index... >>> lua-luv: Signing the index...