>>> lua-luv: Building community/lua-luv 1.51.0.1-r0 (using abuild 3.15.0_rc3-r3) started Wed, 21 May 2025 19:13:03 +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 (20250521.191304) Executing busybox-1.37.0-r17.trigger OK: 420 MiB in 120 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.1s) -- 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 library libluv.so.1.51.0 [4/5] Linking C shared module luv.so [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.1s) -- 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.1s) -- 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.1s) -- 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: 0x3ffb735da90 "closed" uv_timer_t: 0x3ffb735da90 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3ffb735da90 "closed" { } uv_timer_t: 0x3ffb735da90 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-s390x.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-s390x.local" } ok 19 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 20 dns - Lookup local port 80 service { fd = 112 } { stat = { nlink = 1, ino = 26616284, mtime = table: 0x3ffb73baa00, gid = 1000, mode = 33188, size = 6066, dev = 65024, gen = 0, rdev = 0, atime = table: 0x3ffb73ba9b0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x3ffb73baa50, birthtime = table: 0x3ffb73baaf0, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 112 } { stat = { nlink = 1, ino = 26616284, mtime = table: 0x3ffb73e9a30, gid = 1000, mode = 33188, size = 6066, dev = 65024, gen = 0, rdev = 0, atime = table: 0x3ffb73e9940, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x3ffb73e9a80, birthtime = table: 0x3ffb73e9ad0, 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 = ".ci", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "docs", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "src", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "lib", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "rockspecs", type = "directory" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { name = ".ci", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "docs", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "src", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "lib", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "rockspecs", type = "directory" } } uv_dir_t: 0x3ffb73e9468 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { name = ".ci", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "docs", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".gitattributes", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "src", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "lib", type = "directory" } } { { name = "examples", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "Makefile", type = "file" } } { { name = "rockspecs", type = "directory" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { name = ".ci", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-static", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "cmake", type = "directory" }, { name = "docs", type = "directory" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "tests", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "src", type = "directory" }, { name = "deps", type = "directory" }, { name = "lib", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "Makefile", type = "file" }, { name = "rockspecs", type = "directory" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { name = ".ci", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-static", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "cmake", type = "directory" }, { name = "docs", type = "directory" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "tests", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "src", type = "directory" }, { name = "deps", type = "directory" }, { name = "lib", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "Makefile", type = "file" }, { name = "rockspecs", 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 = ".ci", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "build-static", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".editorconfig", type = "file" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "cmake", type = "directory" }, { name = "docs", type = "directory" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-5.1", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "tests", type = "directory" }, { name = ".gitattributes", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = ".clangd", type = "file" }, { name = "src", type = "directory" }, { name = "deps", type = "directory" }, { name = "lib", type = "directory" }, { name = "examples", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "Makefile", type = "file" }, { name = "rockspecs", type = "directory" } } ok 44 fs - fs.{open,read,close}dir ref check { bavail = 198078167, type = 61267, bsize = 4096, files = 91750400, bfree = 213285790, ffree = 86013128, blocks = 360956562 } ok 45 fs - fs.statfs sync { bavail = 198078167, type = 61267, bsize = 4096, files = 91750400, bfree = 213285790, ffree = 86013128, blocks = 360956562 } 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 = 2048000, total = 33734049792, free = 29277077504, constrained = 0, available = 29277077504 } ok 68 misc - memory size { uptime = 12016302.99 } ok 69 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 334033, sec = 0 }, oublock = 72, stime = { usec = 328932, sec = 0 }, nivcsw = 3, minflt = 1290, idrss = 0, majflt = 0, nvcsw = 80, isrss = 0, nswap = 0, maxrss = 2560, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 70 misc - uv.getrusage { inblock = 0, nsignals = 0, utime = { usec = 332839, sec = 0 }, oublock = 56, stime = { usec = 327058, sec = 0 }, nivcsw = 3, minflt = 1219, idrss = 0, majflt = 0, nvcsw = 25, isrss = 0, nswap = 0, maxrss = 2560, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 71 misc - uv.getrusage_thread 8 ok 72 misc - uv.available_parallelism { { speed = 0, times = table: 0x3ffb73b9050, model = "unknown" }, { speed = 0, times = table: 0x3ffb73b91e0, model = "unknown" }, { speed = 0, times = table: 0x3ffb73b9460, model = "unknown" }, { speed = 0, times = table: 0x3ffb73b95f0, model = "unknown" }, { speed = 0, times = table: 0x3ffb735f870, model = "unknown" }, { speed = 0, times = table: 0x3ffb735f960, model = "unknown" }, { speed = 0, times = table: 0x3ffb735faf0, model = "unknown" }, { speed = 0, times = table: 0x3ffb735fbe0, 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>×\0,", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.10.52" }, { mac = "\0>×\0,", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fed7:2c" } } ok 74 misc - uv.interface_addresses { 2.66, 6, 6.11 } 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/ash" } 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 1.2016303007099e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { release = "6.6.57-0-lts", machine = "s390x", version = "#1-Alpine SMP 2024-10-17 17:05:15", sysname = "Linux" } ok 83 misc - uv.os_uname os.time 1747854800 uv.gettimeofday 1747854800.000679 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 = 14068156, sec = 12016304 } nil "realtime" { nsec = 14088050, sec = 12016304 } 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: 0x3ffb73f9490 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3ffb73f9510 "timeout" uv_timer_t: 0x3ffb735da90 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3ffb73f9590 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: 0x3ffb73cede0, pid = 61274 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3ffb73cef00, pid = 61275 } "exit" uv_process_t: 0x3ffb73cef00 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3ffb735c010, pid = 61276 } "exit" uv_process_t: 0x3ffb735c010 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3ffb735c9a0, pid = 61278 } "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 = 61280, code = 0 } ok 114 signal - Catch SIGINT { address = { family = "inet", port = 43633, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb7343c80 } { req = uv_connect_t: 0x3ffb735cc98, client = uv_tcp_t: 0x3ffb7343da0 } "server on connection" uv_tcp_t: 0x3ffb7343c80 "client on connect" uv_tcp_t: 0x3ffb7343da0 nil "client on shutdown" uv_tcp_t: 0x3ffb7343da0 nil "client on close" uv_tcp_t: 0x3ffb7343da0 ok 115 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 46513, ip = "::1" }, server = uv_tcp_t: 0x3ffb7343ec0 } { req = uv_connect_t: 0x3ffb735ced8, client = uv_tcp_t: 0x3ffb737b140 } "server on connection" uv_tcp_t: 0x3ffb7343ec0 "client on connect" uv_tcp_t: 0x3ffb737b140 nil "client on shutdown" uv_tcp_t: 0x3ffb737b140 nil "client on close" uv_tcp_t: 0x3ffb737b140 ok 116 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 36947, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb737bc80 } { req = uv_write_t: 0x3ffb74d88f8, socket = uv_tcp_t: 0x3ffb737bdb0 } "client onwrite" uv_tcp_t: 0x3ffb737bdb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { family = "inet", port = 39743, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb7374800 } { req = uv_write_t: 0x3ffb74b5ec8, socket = uv_tcp_t: 0x3ffb734fc80 } "client onwrite" uv_tcp_t: 0x3ffb734fc80 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 = 39751, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb73e6830 } { req = uv_write_t: 0x3ffb74edb28, socket = uv_tcp_t: 0x3ffb7343270 } "client onwrite" uv_tcp_t: 0x3ffb7343270 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { family = "inet", port = 40637, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb73434a0 } { req = uv_write_t: 0x3ffb74d88f8, socket = uv_tcp_t: 0x3ffb73436e0 } "client onwrite" uv_tcp_t: 0x3ffb73436e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { family = "inet", port = 33807, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb7343a50 } { req = uv_write_t: 0x3ffb74edb28, socket = uv_tcp_t: 0x3ffb7343b70 } "client onwrite" uv_tcp_t: 0x3ffb7343b70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { family = "inet", port = 35921, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ffb7343db0 } { req = uv_write_t: 0x3ffb74b5ec8, socket = uv_tcp_t: 0x3ffb7343ed0 } "client onwrite" uv_tcp_t: 0x3ffb7343ed0 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: 0x3ffb507fb38 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3ffb74b4cc0 Running uv_thread_t: 0x3ffb74b4cc0 { delay = 100, elapsed = 101 } 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 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x3ffb735da90 "closed" uv_timer_t: 0x3ffb735da90 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3ffb735da90 "interval" uv_timer_t: 0x3ffb735da90 "interval" uv_timer_t: 0x3ffb735da90 "closed" uv_timer_t: 0x3ffb735da90 ok 137 timer - simple interval "interval" uv_timer_t: 0x3ffb73b5fc0 "timeout" uv_timer_t: 0x3ffb735da90 "interval" uv_timer_t: 0x3ffb73b5fc0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3ffb735da90 0 "interval" uv_timer_t: 0x3ffb735da90 8 "interval" uv_timer_t: 0x3ffb735da90 4 "interval" uv_timer_t: 0x3ffb735da90 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3ffb735da90 0 "interval" uv_timer_t: 0x3ffb735da90 8 "interval" uv_timer_t: 0x3ffb735da90 4 "interval" uv_timer_t: 0x3ffb735da90 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3ffb74d88e0 } { req = 0, client = uv_udp_t: 0x3ffb73eefb0 } "client on send" uv_udp_t: 0x3ffb73eefb0 nil "server on recv" uv_udp_t: 0x3ffb74d88e0 "PING" { family = "inet", port = 58763, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ffb74d88e0 "client on close" uv_udp_t: 0x3ffb73eefb0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3ffb74b5eb0 } { req = 0, client = uv_udp_t: 0x3ffb73ef1a0 } "client on send" uv_udp_t: 0x3ffb73ef1a0 nil "server on recv" uv_udp_t: 0x3ffb74b5eb0 "PING" { family = "inet", port = 60364, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ffb74b5eb0 "client on close" uv_udp_t: 0x3ffb73ef1a0 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3ffb74edb10 } { req = 0, client = uv_udp_t: 0x3ffb73ef390 } "client on send" uv_udp_t: 0x3ffb73ef390 nil "server on recv" uv_udp_t: 0x3ffb74edb10 "PING" { family = "inet6", port = 47008, ip = "::1" } { } "server on close" uv_udp_t: 0x3ffb74edb10 "client on close" uv_udp_t: 0x3ffb73ef390 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: 0x3ffb74d88d0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x3ffb74d88d0 "PING" { family = "inet", port = 36494, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ffb74d88d0 "PING" { family = "inet", port = 39618, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ffb74d88d0 "PING" { family = "inet", port = 39618, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ffb74d88d0 nil nil { } "server on recv" uv_udp_t: 0x3ffb74d88d0 "PING" { family = "inet", port = 53352, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x3ffb74edb10 "server on close" uv_udp_t: 0x3ffb74d88d0 ok 147 udp - udp connect "PING" { family = "inet", port = 42363, ip = "172.16.10.52" } "PING" { family = "inet", port = 42363, ip = "172.16.10.52" } ok 148 udp - udp multicast join ipv4 "PING" { family = "inet6", port = 46382, ip = "fe80::216:3eff:fed7:2c" } "PING" { family = "inet6", port = 46382, ip = "fe80::216:3eff:fed7:2c" } ok 149 udp - udp multicast join ipv6 "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, ip = "127.0.0.1" } "PING" { family = "inet", port = 45317, 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 = 57842, ip = "127.0.0.1" } "PING" { family = "inet", port = 57842, ip = "127.0.0.1" } "PING" { family = "inet", port = 57842, ip = "127.0.0.1" } "PING" { family = "inet", port = 57842, ip = "127.0.0.1" } "PING" { family = "inet", port = 57842, 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: 0x3ffb5976b38" "hello" uv_thread_t: 0x3ffb5976b38 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: 0x3ff91deb2f0 "closed" uv_timer_t: 0x3ff91deb2f0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3ff91deb390 "closed" { } uv_timer_t: 0x3ff91deb390 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 { { addr = "::1", socktype = "stream", family = "inet6", protocol = "tcp", port = 80 }, { addr = "127.0.0.1", socktype = "stream", family = "inet", protocol = "tcp", port = 80 } } 2 ok 9 dns - Get all local http addresses { { addr = "::1", socktype = "stream", family = "inet6", protocol = "tcp", port = 80 }, { addr = "127.0.0.1", socktype = "stream", family = "inet", protocol = "tcp", 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", socktype = "stream", family = "inet6", protocol = "tcp", canonname = "luvit.io" } } 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", socktype = "stream", family = "inet", protocol = "tcp", canonname = "luvit.io" }, { addr = "206.189.225.172", socktype = "dgram", family = "inet", protocol = "udp", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", family = "inet6", protocol = "tcp", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", family = "inet6", protocol = "udp", 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 { hostname = "0.0.0.0", service = "0" } ok 16 dns - Lookup local ipv4 address sync { hostname = "build-3-22-s390x.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-s390x.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 112 } { stat = { type = "file", rdev = 0, ctime = table: 0x3ff91ec16c0, blksize = 4096, ino = 26616284, mtime = table: 0x3ff91dd2e50, nlink = 1, uid = 1000, dev = 65024, gen = 0, size = 6066, atime = table: 0x3ff91dd2dd0, mode = 33188, birthtime = table: 0x3ff91ec1740, gid = 1000, flags = 0, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 112 } { stat = { type = "file", rdev = 0, ctime = table: 0x3ff91dd28d0, blksize = 4096, ino = 26616284, mtime = table: 0x3ff91deeeb0, nlink = 1, uid = 1000, dev = 65024, gen = 0, size = 6066, atime = table: 0x3ff91deee30, mode = 33188, birthtime = table: 0x3ff91dd2950, gid = 1000, flags = 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 { 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 { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "file", name = ".gitattributes" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "directory", name = "docs" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 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 { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "file", name = ".gitattributes" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "directory", name = "docs" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 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 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } uv_dir_t: 0x3ff91dd6128 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 44 fs - fs.{open,read,close}dir ref check { type = 61267, bfree = 213285783, blocks = 360956562, files = 91750400, bavail = 198078160, ffree = 86013128, bsize = 4096 } ok 45 fs - fs.statfs sync { type = 61267, bfree = 213285783, blocks = 360956562, files = 91750400, bavail = 198078160, ffree = 86013128, bsize = 4096 } 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 { events = 43, events_waiting = 0, loop_count = 78 } { events = 43, events_waiting = 0, loop_count = 79 } 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 = 2334720, constrained = 0.0, available = 29276672000.0, total = 33734049792.0, free = 29276672000.0 } ok 68 misc - memory size { uptime = 12016312.78 } ok 69 misc - uv.uptime { nivcsw = 13, ixrss = 0, isrss = 0, minflt = 1162, utime = { usec = 290996, sec = 0 }, idrss = 0, stime = { usec = 348700, sec = 0 }, nsignals = 0, msgrcv = 0, nvcsw = 79, nswap = 0, msgsnd = 0, oublock = 80, inblock = 0, majflt = 0, maxrss = 2560 } ok 70 misc - uv.getrusage { nivcsw = 13, ixrss = 0, isrss = 0, minflt = 1102, utime = { usec = 290036, sec = 0 }, idrss = 0, stime = { usec = 347420, sec = 0 }, nsignals = 0, msgrcv = 0, nvcsw = 26, nswap = 0, msgsnd = 0, oublock = 64, inblock = 0, majflt = 0, maxrss = 2560 } ok 71 misc - uv.getrusage_thread 8 ok 72 misc - uv.available_parallelism { { times = table: 0x3ff91d71830, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d71c30, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d71db0, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91dd2c10, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d71d30, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d71df0, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d75f60, model = "unknown", speed = 0.0 }, { times = table: 0x3ff91d76060, model = "unknown", speed = 0.0 } } ok 73 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", internal = false, family = "inet", mac = "\0>×\0,", ip = "172.16.10.52" }, { netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", mac = "\0>×\0,", ip = "fe80::216:3eff:fed7:2c" } } "lo" { { netmask = "255.0.0.0", internal = true, family = "inet", mac = "\0\0\0\0\0\0", ip = "127.0.0.1" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", mac = "\0\0\0\0\0\0", ip = "::1" } } ok 74 misc - uv.interface_addresses { 2.25, 5.81, 6.04 } 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", homedir = "/home/buildozer", shell = "/bin/ash", gid = 1000, uid = 1000 } 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 1.2016312786063e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { machine = "s390x", sysname = "Linux", version = "#1-Alpine SMP 2024-10-17 17:05:15", release = "6.6.57-0-lts" } ok 83 misc - uv.os_uname os.time 1747854810 uv.gettimeofday 1747854810.000458 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 = 790208218, sec = 12016313 } nil "realtime" { nsec = 790225335, sec = 12016313 } 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: 0x3ff91ed1590 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3ff91ed1610 "timeout" uv_timer_t: 0x3ff91deb4d0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3ff91ed1690 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: 0x3ff91dce520, pid = 61298 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3ff91dce910, pid = 61299 } "exit" uv_process_t: 0x3ff91dce910 { signal = 2, status = 0 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3ff91edf5b0, pid = 61300 } "exit" uv_process_t: 0x3ff91edf5b0 { signal = 15, status = 0 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3ff91edf910, pid = 61302 } "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 = 61304, signal = 0, code = 0 } ok 114 signal - Catch SIGINT { server = uv_tcp_t: 0x3ff91eb6ec0, address = { port = 36981, family = "inet", ip = "127.0.0.1" } } { client = uv_tcp_t: 0x3ff91dd4c30, req = uv_connect_t: 0x3ff91de9058 } "server on connection" uv_tcp_t: 0x3ff91eb6ec0 "client on connect" uv_tcp_t: 0x3ff91dd4c30 nil "client on shutdown" uv_tcp_t: 0x3ff91dd4c30 nil "client on close" uv_tcp_t: 0x3ff91dd4c30 ok 115 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x3ff91dd4af0, address = { port = 36593, family = "inet6", ip = "::1" } } { client = uv_tcp_t: 0x3ff91dd4e50, req = uv_connect_t: 0x3ff91deb328 } "server on connection" uv_tcp_t: 0x3ff91dd4af0 "client on connect" uv_tcp_t: 0x3ff91dd4e50 nil "client on shutdown" uv_tcp_t: 0x3ff91dd4e50 nil "client on close" uv_tcp_t: 0x3ff91dd4e50 ok 116 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x3ff91dd4b00, address = { port = 33837, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91eb6a78, socket = uv_tcp_t: 0x3ff91dd4e60 } "client onwrite" uv_tcp_t: 0x3ff91dd4e60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { server = uv_tcp_t: 0x3ff91ee46c0, address = { port = 45413, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91ddc4d8, socket = uv_tcp_t: 0x3ff91eb6ec0 } "client onwrite" uv_tcp_t: 0x3ff91eb6ec0 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: 0x3ff91dd4c20, address = { port = 45137, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91ee4158, socket = uv_tcp_t: 0x3ff91eb6a40 } "client onwrite" uv_tcp_t: 0x3ff91eb6a40 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { server = uv_tcp_t: 0x3ff91ee4130, address = { port = 34949, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91eb6a88, socket = uv_tcp_t: 0x3ff91ddc020 } "client onwrite" uv_tcp_t: 0x3ff91ddc020 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x3ff91eb6ec0, address = { port = 39573, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91ee4178, socket = uv_tcp_t: 0x3ff91dd4c10 } "client onwrite" uv_tcp_t: 0x3ff91dd4c10 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { server = uv_tcp_t: 0x3ff91eb6ed0, address = { port = 46655, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x3ff91ee4158, socket = uv_tcp_t: 0x3ff91ddc040 } "client onwrite" uv_tcp_t: 0x3ff91ddc040 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: 0x3ff8f97fb38 { elapsed = 101, delay = 100 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3ff91eb4cc0 Running uv_thread_t: 0x3ff91eb4cc0 { elapsed = 101, delay = 100 } ok 127 thread - test thread sleep msecs in main thread { elapsed = 100, delay = 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 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: 0x3ff91deb2f0 "closed" uv_timer_t: 0x3ff91deb2f0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3ff91deb4d0 "interval" uv_timer_t: 0x3ff91deb4d0 "interval" uv_timer_t: 0x3ff91deb4d0 "closed" uv_timer_t: 0x3ff91deb4d0 ok 137 timer - simple interval "interval" uv_timer_t: 0x3ff91de9020 "timeout" uv_timer_t: 0x3ff91deb570 "interval" uv_timer_t: 0x3ff91de9020 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3ff91deb2f0 0 "interval" uv_timer_t: 0x3ff91deb2f0 8 "interval" uv_timer_t: 0x3ff91deb2f0 4 "interval" uv_timer_t: 0x3ff91deb2f0 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3ff91deb4d0 0 "interval" uv_timer_t: 0x3ff91deb4d0 8 "interval" uv_timer_t: 0x3ff91deb4d0 4 "interval" uv_timer_t: 0x3ff91deb4d0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3ff91d792c0 } { client = uv_udp_t: 0x3ff91d799b0, req = 0 } "client on send" uv_udp_t: 0x3ff91d799b0 nil "server on recv" uv_udp_t: 0x3ff91d792c0 "PING" { port = 43030, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ff91d792c0 "client on close" uv_udp_t: 0x3ff91d799b0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3ff91d792b0 } { client = uv_udp_t: 0x3ff91d799a0, req = 0 } "client on send" uv_udp_t: 0x3ff91d799a0 nil "server on recv" uv_udp_t: 0x3ff91d792b0 "PING" { port = 43513, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ff91d792b0 "client on close" uv_udp_t: 0x3ff91d799a0 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3ff91d792c0 } { client = uv_udp_t: 0x3ff91d799b0, req = 0 } "client on send" uv_udp_t: 0x3ff91d799b0 nil "server on recv" uv_udp_t: 0x3ff91d792c0 "PING" { port = 56361, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0x3ff91d792c0 "client on close" uv_udp_t: 0x3ff91d799b0 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: 0x3ff91d799a0 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x3ff91d799a0 "PING" { port = 56421, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff91d799a0 "PING" { port = 41470, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff91d799a0 "PING" { port = 41470, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff91d799a0 nil nil { } "server on recv" uv_udp_t: 0x3ff91d799a0 "PING" { port = 45034, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x3ff91d792c0 "server on close" uv_udp_t: 0x3ff91d799a0 ok 147 udp - udp connect "PING" { port = 36304, family = "inet", ip = "172.16.10.52" } "PING" { port = 36304, family = "inet", ip = "172.16.10.52" } ok 148 udp - udp multicast join ipv4 "PING" { port = 37520, family = "inet6", ip = "fe80::216:3eff:fed7:2c" } "PING" { port = 37520, family = "inet6", ip = "fe80::216:3eff:fed7:2c" } ok 149 udp - udp multicast join ipv6 "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, family = "inet", ip = "127.0.0.1" } "PING" { port = 47126, 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 = 37177, family = "inet", ip = "127.0.0.1" } "PING" { port = 37177, family = "inet", ip = "127.0.0.1" } "PING" { port = 37177, family = "inet", ip = "127.0.0.1" } "PING" { port = 37177, family = "inet", ip = "127.0.0.1" } "PING" { port = 37177, 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: 0x3ff90a79b38" "hello" uv_thread_t: 0x3ff90a79b38 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: 0x03ffb8894930 "closed" uv_timer_t: 0x03ffb8894930 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x03ffb8894930 "closed" { } uv_timer_t: 0x03ffb8894930 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 { { family = "inet6", protocol = "tcp", addr = "::1", port = 80, socktype = "stream" }, { family = "inet", protocol = "tcp", addr = "127.0.0.1", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses { { family = "inet6", protocol = "tcp", addr = "::1", port = 80, socktype = "stream" }, { family = "inet", protocol = "tcp", addr = "127.0.0.1", port = 80, socktype = "stream" } } 2 ok 10 dns - Get all local http addresses sync { { family = "inet", protocol = "tcp", canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { family = "inet", protocol = "tcp", canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream" }, { family = "inet", protocol = "udp", canonname = "luvit.io", addr = "206.189.225.172", socktype = "dgram" }, { family = "inet6", protocol = "tcp", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream" }, { family = "inet6", protocol = "udp", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram" } } 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-s390x.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-s390x.local" } ok 19 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 20 dns - Lookup local port 80 service { fd = 112 } { stat = { gen = 0, ctime = table: 0x03ffb8a38cd0, birthtime = table: 0x03ffb8a42270, size = 6066, atime = table: 0x03ffb8a42710, mtime = table: 0x03ffb8a157d8, type = "file", dev = 65024, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 26616284, blksize = 4096, blocks = 16, flags = 0 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 112 } { stat = { nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 26616284, size = 6066, blocks = 16, flags = 0, gen = 0, ctime = table: 0x03ffb8a157d8, birthtime = table: 0x03ffb8a38cd0, type = "file", mtime = table: 0x03ffb8a33420, atime = table: 0x03ffb8a42710, blksize = 4096, dev = 65024, mode = 33188 } } { 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 { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "file", name = ".gitattributes" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "directory", name = "docs" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 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 { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "file", name = ".gitattributes" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "directory", name = "docs" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 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 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } ok 38 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } uv_dir_t: 0x03ffb8a06868 closed ok 39 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = ".ci" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "build-static" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = "docs" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "tests" } } { { type = "file", name = ".gitattributes" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "src" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "examples" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "rockspecs" } } ok 40 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 41 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 42 fs - fs.{open,read,close}dir with more entry ok 43 fs - fs.opendir and fs.closedir in a loop { { type = "directory", name = ".ci" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "build-static" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".editorconfig" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "cmake" }, { type = "directory", name = "docs" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "tests" }, { type = "file", name = ".gitattributes" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = ".clangd" }, { type = "directory", name = "src" }, { type = "directory", name = "deps" }, { type = "directory", name = "lib" }, { type = "directory", name = "examples" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "Makefile" }, { type = "directory", name = "rockspecs" } } ok 44 fs - fs.{open,read,close}dir ref check { type = 61267, ffree = 86013128, files = 91750400, bavail = 198078152, bsize = 4096, blocks = 360956562, bfree = 213285775 } ok 45 fs - fs.statfs sync { type = 61267, blocks = 360956562, bfree = 213285775, files = 91750400, ffree = 86013128, bavail = 198078152, bsize = 4096 } 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 { events_waiting = 0, loop_count = 77, events = 43 } { events_waiting = 0, loop_count = 78, events = 43 } 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 { rss = 2621440, total = 33734049792, constrained = 0, available = 29276921856, free = 29276921856 } ok 68 misc - memory size { uptime = 12016322.33 } ok 69 misc - uv.uptime { minflt = 814, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 71, nivcsw = 1, utime = { sec = 0, usec = 312195 }, stime = { sec = 0, usec = 339182 }, maxrss = 2560, ixrss = 0, idrss = 0, isrss = 0 } ok 70 misc - uv.getrusage { msgsnd = 0, nivcsw = 1, nvcsw = 20, nsignals = 0, msgrcv = 0, utime = { sec = 0, usec = 311356 }, stime = { sec = 0, usec = 337989 }, maxrss = 2560, ixrss = 0, idrss = 0, isrss = 0, minflt = 730, majflt = 0, nswap = 0, inblock = 0, oublock = 56 } ok 71 misc - uv.getrusage_thread 8 ok 72 misc - uv.available_parallelism { { model = "unknown", speed = 0, times = table: 0x03ffb8a395e0 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a05df0 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a4d660 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a157d8 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a33420 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a38cd0 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a3b508 }, { model = "unknown", speed = 0, times = table: 0x03ffb8a349a0 } } ok 73 misc - uv.cpu_info "lo" { { netmask = "255.0.0.0", family = "inet", internal = true, mac = "\0\0\0\0\0\0", ip = "127.0.0.1" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true, mac = "\0\0\0\0\0\0", ip = "::1" } } "eth0" { { netmask = "255.255.255.0", family = "inet", internal = false, mac = "\0>×\0,", ip = "172.16.10.52" }, { netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false, mac = "\0>×\0,", ip = "fe80::216:3eff:fed7:2c" } } ok 74 misc - uv.interface_addresses { 1.9, 5.61, 5.98 } 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 { gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer", username = "buildozer", uid = 1000 } 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 1.2016322339875e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { release = "6.6.57-0-lts", machine = "s390x", sysname = "Linux", version = "#1-Alpine SMP 2024-10-17 17:05:15" } ok 83 misc - uv.os_uname os.time 1747854820 uv.gettimeofday 1747854820.000012 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 = 12016323, nsec = 346693994 } nil "realtime" { sec = 12016323, nsec = 346704545 } 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: 0x02aa33c65f70 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x03ffb8894f20 "timeout" uv_timer_t: 0x02aa33c651a0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x02aa33c65f70 ok 103 prepare-check-idle-async - simple idle ok 104 prepare-check-idle-async - simple async ok 105 process - test disable_stdio_inheritance { pid = 61322, handle = uv_process_t: 0x02aa33c651b0 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { pid = 61323, handle = uv_process_t: 0x03ffb8894940 } "exit" uv_process_t: 0x03ffb8894940 { signal = 2, status = 0 } ok 107 process - spawn and kill by pid { pid = 61324, handle = uv_process_t: 0x03ffb89d9050 } "exit" uv_process_t: 0x03ffb89d9050 { signal = 15, status = 0 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { pid = 61326, handle = uv_process_t: 0x03ffb89d9040 } "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 = 61328 } ok 114 signal - Catch SIGINT { server = uv_tcp_t: 0x02aa33c655a0, address = { port = 34889, family = "inet", ip = "127.0.0.1" } } { client = uv_tcp_t: 0x02aa33c656e0, req = uv_connect_t: 0x03ffb89e86f8 } "server on connection" uv_tcp_t: 0x02aa33c655a0 "client on connect" uv_tcp_t: 0x02aa33c656e0 nil "client on shutdown" uv_tcp_t: 0x02aa33c656e0 nil "client on close" uv_tcp_t: 0x02aa33c656e0 ok 115 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x03ffb89d9440, address = { port = 42949, family = "inet6", ip = "::1" } } { client = uv_tcp_t: 0x03ffb89d9580, req = uv_connect_t: 0x03ffb89e86f8 } "server on connection" uv_tcp_t: 0x03ffb89d9440 "client on connect" uv_tcp_t: 0x03ffb89d9580 nil "client on shutdown" uv_tcp_t: 0x03ffb89d9580 nil "client on close" uv_tcp_t: 0x03ffb89d9580 ok 116 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x02aa33c655b0, address = { port = 40809, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x02aa33c656f0 } "client onwrite" uv_tcp_t: 0x02aa33c656f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { server = uv_tcp_t: 0x03ffb89d9450, address = { port = 44503, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x03ffb89d9590 } "client onwrite" uv_tcp_t: 0x03ffb89d9590 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: 0x03ffb89d9460, address = { port = 44665, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x03ffb89d95a0 } "client onwrite" uv_tcp_t: 0x03ffb89d95a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { server = uv_tcp_t: 0x02aa33c65580, address = { port = 40035, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x02aa33c65700 } "client onwrite" uv_tcp_t: 0x02aa33c65700 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x03ffb89d9420, address = { port = 42065, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x03ffb89d9560 } "client onwrite" uv_tcp_t: 0x03ffb89d9560 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { server = uv_tcp_t: 0x02aa33c65590, address = { port = 33225, family = "inet", ip = "127.0.0.1" } } { req = uv_write_t: 0x03ffb8a2e478, socket = uv_tcp_t: 0x02aa33c656c0 } "client onwrite" uv_tcp_t: 0x02aa33c656c0 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: 0x03ffb657fb38 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x03ffb89b4cc0 Running uv_thread_t: 0x03ffb89b4cc0 { 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 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x02aa33c651a0 "closed" uv_timer_t: 0x02aa33c651a0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x03ffb89d9040 "interval" uv_timer_t: 0x03ffb89d9040 "interval" uv_timer_t: 0x03ffb89d9040 "closed" uv_timer_t: 0x03ffb89d9040 ok 137 timer - simple interval "interval" uv_timer_t: 0x03ffb88949d0 "timeout" uv_timer_t: 0x03ffb8894930 "interval" uv_timer_t: 0x03ffb88949d0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x02aa33c651a0 0 "interval" uv_timer_t: 0x02aa33c651a0 8 "interval" uv_timer_t: 0x02aa33c651a0 4 "interval" uv_timer_t: 0x02aa33c651a0 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x03ffb89d9040 0 "interval" uv_timer_t: 0x03ffb89d9040 8 "interval" uv_timer_t: 0x03ffb89d9040 4 "interval" uv_timer_t: 0x03ffb89d9040 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: 0x03ffb89b4e90 } { client = uv_udp_t: 0x03ffb89d9050, req = 0 } "client on send" uv_udp_t: 0x03ffb89d9050 nil "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 44081, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x03ffb89b4e90 "client on close" uv_udp_t: 0x03ffb89d9050 ok 146 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x03ffb89b4ea0 } { client = uv_udp_t: 0x03ffb8894940, req = 0 } "client on send" uv_udp_t: 0x03ffb8894940 nil "server on recv" uv_udp_t: 0x03ffb89b4ea0 "PING" { port = 57719, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x03ffb89b4ea0 "client on close" uv_udp_t: 0x03ffb8894940 ok 147 udp - basic udp send from table { server = uv_udp_t: 0x03ffb89b4e90 } { client = uv_udp_t: 0x02aa33c651b0, req = 0 } "client on send" uv_udp_t: 0x02aa33c651b0 nil "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 55797, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0x03ffb89b4e90 "client on close" uv_udp_t: 0x02aa33c651b0 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: 0x03ffb89b4e90 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 40788, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 48974, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 48974, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x03ffb89b4e90 nil nil { } "server on recv" uv_udp_t: 0x03ffb89b4e90 "PING" { port = 41012, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x03ffb89d9040 "server on close" uv_udp_t: 0x03ffb89b4e90 ok 150 udp - udp connect "PING" { port = 45576, family = "inet", ip = "172.16.10.52" } "PING" { port = 45576, family = "inet", ip = "172.16.10.52" } ok 151 udp - udp multicast join ipv4 "PING" { port = 42661, family = "inet6", ip = "fe80::216:3eff:fed7:2c" } "PING" { port = 42661, family = "inet6", ip = "fe80::216:3eff:fed7:2c" } ok 152 udp - udp multicast join ipv6 "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } "PING" { port = 49015, family = "inet", ip = "127.0.0.1" } ok 153 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 154 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { port = 40299, family = "inet", ip = "127.0.0.1" } "PING" { port = 40299, family = "inet", ip = "127.0.0.1" } "PING" { port = 40299, family = "inet", ip = "127.0.0.1" } "PING" { port = 40299, family = "inet", ip = "127.0.0.1" } "PING" { port = 40299, family = "inet", ip = "127.0.0.1" } 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: 0x03ffb6e76b38" "hello" uv_thread_t: 0x03ffb6e76b38 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 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-s390x.so.1 so:libuv.so.1 >>> libluv*: Package size: 197.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: 347.7 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-s390x.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 197.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-s390x.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 193.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 Wed, 21 May 2025 19:13:45 +0000 elapsed time 0h 0m 42s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/16) Purging .makedepends-lua-luv (20250521.191304) (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: 359 MiB in 104 packages >>> lua-luv: Updating the community/s390x repository index... >>> lua-luv: Signing the index...