>>> lua-luv: Building community/lua-luv 1.51.0.1-r0 (using abuild 3.15.0_rc3-r3) started Sat, 17 May 2025 21:47:09 +0000 >>> lua-luv: Validating /home/buildozer/aports/community/lua-luv/APKBUILD... >>> WARNING: lua-luv: No maintainer >>> lua-luv: Analyzing dependencies... >>> lua-luv: Installing for build: build-base cmake libuv-dev lua-compat53-dev ninja luajit-dev lua5.1-dev lua5.4-dev (1/16) Installing libbz2 (1.0.8-r6) (2/16) Installing xz-libs (5.8.1-r0) (3/16) Installing libarchive (3.7.9-r0) (4/16) Installing rhash-libs (1.4.5-r0) (5/16) Installing libuv (1.51.0-r0) (6/16) Installing cmake (3.31.7-r1) (7/16) Installing libuv-dev (1.51.0-r0) (8/16) Installing lua-compat53-dev (0.13-r0) (9/16) Installing samurai (1.2-r7) (10/16) Installing luajit (2.1_p20240815-r1) (11/16) Installing luajit-dev (2.1_p20240815-r1) (12/16) Installing lua5.1-libs (5.1.5-r13) (13/16) Installing lua5.1 (5.1.5-r13) (14/16) Installing lua5.1-dev (5.1.5-r13) (15/16) Installing lua5.4-dev (5.4.7-r0) (16/16) Installing .makedepends-lua-luv (20250517.214710) Executing busybox-1.37.0-r17.trigger OK: 421 MiB in 124 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge//lua-luv-1.51.0-1.tar.gz >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge//lua-luv-1.51.0-1.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.51.0-1.tar.gz: OK skip-tty-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/edge/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 module luv.so [4/5] Linking C shared library libluv.so.1.51.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.7") -- Configuring done (0.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 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.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: 0x3ff9d05e9f0 "closed" uv_timer_t: 0x3ff9d05e9f0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3ff9d05e950 "closed" { } uv_timer_t: 0x3ff9d05e950 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-edge-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-edge-s390x.local" } ok 19 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { nlink = 1, ino = 26741876, mtime = table: 0x3ff9d0baa00, gid = 1000, mode = 33188, size = 6066, dev = 65024, gen = 0, rdev = 0, atime = table: 0x3ff9d0ba9b0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x3ff9d0baa50, birthtime = table: 0x3ff9d0baaf0, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { nlink = 1, ino = 26741876, mtime = table: 0x3ff9d0eca30, gid = 1000, mode = 33188, size = 6066, dev = 65024, gen = 0, rdev = 0, atime = table: 0x3ff9d0ec940, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x3ff9d0eca80, birthtime = table: 0x3ff9d0ecad0, 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: 0x3ff9d0ec468 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 = 192274705, type = 61267, bsize = 4096, files = 91750400, bfree = 207482328, ffree = 85985308, blocks = 360956562 } ok 45 fs - fs.statfs sync { bavail = 192274705, type = 61267, bsize = 4096, files = 91750400, bfree = 207482328, ffree = 85985308, 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 = 2187264, total = 33734049792, free = 27583348736, constrained = 0, available = 27583348736 } ok 68 misc - memory size { uptime = 11679947.34 } ok 69 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 332695, sec = 0 }, oublock = 72, stime = { usec = 328022, sec = 0 }, nivcsw = 2, minflt = 1310, idrss = 0, majflt = 0, nvcsw = 73, isrss = 0, nswap = 0, maxrss = 2560, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 70 misc - uv.getrusage { inblock = 0, nsignals = 0, utime = { usec = 331620, sec = 0 }, oublock = 56, stime = { usec = 326649, sec = 0 }, nivcsw = 2, minflt = 1242, idrss = 0, majflt = 0, nvcsw = 20, 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: 0x3ff9d0b9050, model = "unknown" }, { speed = 0, times = table: 0x3ff9d0b91e0, model = "unknown" }, { speed = 0, times = table: 0x3ff9d0b9460, model = "unknown" }, { speed = 0, times = table: 0x3ff9d0b95f0, model = "unknown" }, { speed = 0, times = table: 0x3ff9d060870, model = "unknown" }, { speed = 0, times = table: 0x3ff9d060960, model = "unknown" }, { speed = 0, times = table: 0x3ff9d060af0, model = "unknown" }, { speed = 0, times = table: 0x3ff9d060be0, 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>€h·", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.10.4" }, { mac = "\0>€h·", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe80:68b7" } } ok 74 misc - uv.interface_addresses { 0.38, 0.19, 0.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.1679947348059e+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 1747518445 uv.gettimeofday 1747518445.000021 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 = 355630467, sec = 11679948 } nil "realtime" { nsec = 355651934, sec = 11679948 } 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: 0x3ff9d0f5490 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3ff9d0f5510 "timeout" uv_timer_t: 0x3ff9d1f3e90 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3ff9d0f5590 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: 0x3ff9d05d520, pid = 24848 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3ff9d05d760, pid = 24849 } "exit" uv_process_t: 0x3ff9d05d760 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3ff9d05d7f0, pid = 24850 } "exit" uv_process_t: 0x3ff9d05d7f0 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3ff9d05dd90, pid = 24852 } "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 = 24854, code = 0 } ok 114 signal - Catch SIGINT { address = { family = "inet", port = 33209, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d0ea010 } { req = uv_connect_t: 0x3ff9d0ed558, client = uv_tcp_t: 0x3ff9d1bdee0 } "server on connection" uv_tcp_t: 0x3ff9d0ea010 "client on connect" uv_tcp_t: 0x3ff9d1bdee0 nil "client on shutdown" uv_tcp_t: 0x3ff9d1bdee0 nil "client on close" uv_tcp_t: 0x3ff9d1bdee0 ok 115 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 38215, ip = "::1" }, server = uv_tcp_t: 0x3ff9d050800 } { req = uv_connect_t: 0x3ff9d0e9c28, client = uv_tcp_t: 0x3ff9d043260 } "server on connection" uv_tcp_t: 0x3ff9d050800 "client on connect" uv_tcp_t: 0x3ff9d043260 nil "client on shutdown" uv_tcp_t: 0x3ff9d043260 nil "client on close" uv_tcp_t: 0x3ff9d043260 ok 116 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 33079, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d043380 } { req = uv_write_t: 0x3ff9d1d88f8, socket = uv_tcp_t: 0x3ff9d0434b0 } "client onwrite" uv_tcp_t: 0x3ff9d0434b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { family = "inet", port = 43705, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d043810 } { req = uv_write_t: 0x3ff9d1bc708, socket = uv_tcp_t: 0x3ff9d043a50 } "client onwrite" uv_tcp_t: 0x3ff9d043a50 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 = 36159, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d043db0 } { req = uv_write_t: 0x3ff9d1edb28, socket = uv_tcp_t: 0x3ff9d043ed0 } "client onwrite" uv_tcp_t: 0x3ff9d043ed0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { family = "inet", port = 33789, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d0b0c90 } { req = uv_write_t: 0x3ff9d1d88f8, socket = uv_tcp_t: 0x3ff9d0b0db0 } "client onwrite" uv_tcp_t: 0x3ff9d0b0db0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { family = "inet", port = 33299, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d0ea020 } { req = uv_write_t: 0x3ff9d1edb28, socket = uv_tcp_t: 0x3ff9d1bdef0 } "client onwrite" uv_tcp_t: 0x3ff9d1bdef0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { family = "inet", port = 33307, ip = "127.0.0.1" }, server = uv_tcp_t: 0x3ff9d043270 } { req = uv_write_t: 0x3ff9d1bc708, socket = uv_tcp_t: 0x3ff9d043390 } "client onwrite" uv_tcp_t: 0x3ff9d043390 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: 0x3ff9ad7fb38 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3ff9d1b4cc0 Running uv_thread_t: 0x3ff9d1b4cc0 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 100 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x3ff9d05e9f0 "closed" uv_timer_t: 0x3ff9d05e9f0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3ff9d1f3e90 "interval" uv_timer_t: 0x3ff9d1f3e90 "interval" uv_timer_t: 0x3ff9d1f3e90 "closed" uv_timer_t: 0x3ff9d1f3e90 ok 137 timer - simple interval "interval" uv_timer_t: 0x3ff9d05e9f0 "timeout" uv_timer_t: 0x3ff9d05e950 "interval" uv_timer_t: 0x3ff9d05e9f0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3ff9d1f3e90 0 "interval" uv_timer_t: 0x3ff9d1f3e90 8 "interval" uv_timer_t: 0x3ff9d1f3e90 4 "interval" uv_timer_t: 0x3ff9d1f3e90 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3ff9d05e950 0 "interval" uv_timer_t: 0x3ff9d05e950 8 "interval" uv_timer_t: 0x3ff9d05e950 4 "interval" uv_timer_t: 0x3ff9d05e950 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3ff9d1d88e0 } { req = 0, client = uv_udp_t: 0x3ff9d0f21a0 } "client on send" uv_udp_t: 0x3ff9d0f21a0 nil "server on recv" uv_udp_t: 0x3ff9d1d88e0 "PING" { family = "inet", port = 46794, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ff9d1d88e0 "client on close" uv_udp_t: 0x3ff9d0f21a0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3ff9d1bc6f0 } { req = 0, client = uv_udp_t: 0x3ff9d0f2390 } "client on send" uv_udp_t: 0x3ff9d0f2390 nil "server on recv" uv_udp_t: 0x3ff9d1bc6f0 "PING" { family = "inet", port = 40125, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x3ff9d1bc6f0 "client on close" uv_udp_t: 0x3ff9d0f2390 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3ff9d1edb10 } { req = 0, client = uv_udp_t: 0x3ff9d0f2b40 } "client on send" uv_udp_t: 0x3ff9d0f2b40 nil "server on recv" uv_udp_t: 0x3ff9d1edb10 "PING" { family = "inet6", port = 35339, ip = "::1" } { } "server on close" uv_udp_t: 0x3ff9d1edb10 "client on close" uv_udp_t: 0x3ff9d0f2b40 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: 0x3ff9d1d88d0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x3ff9d1d88d0 "PING" { family = "inet", port = 33267, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff9d1d88d0 "PING" { family = "inet", port = 57671, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff9d1d88d0 "PING" { family = "inet", port = 57671, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x3ff9d1d88d0 nil nil { } "server on recv" uv_udp_t: 0x3ff9d1d88d0 "PING" { family = "inet", port = 50951, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x3ff9d1edb10 "server on close" uv_udp_t: 0x3ff9d1d88d0 ok 147 udp - udp connect "PING" { family = "inet", port = 53377, ip = "172.16.10.4" } "PING" { family = "inet", port = 53377, ip = "172.16.10.4" } ok 148 udp - udp multicast join ipv4 "PING" { family = "inet6", port = 43871, ip = "fe80::216:3eff:fe80:68b7" } "PING" { family = "inet6", port = 43871, ip = "fe80::216:3eff:fe80:68b7" } ok 149 udp - udp multicast join ipv6 "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, ip = "127.0.0.1" } "PING" { family = "inet", port = 53902, 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 = 53895, ip = "127.0.0.1" } "PING" { family = "inet", port = 53895, ip = "127.0.0.1" } "PING" { family = "inet", port = 53895, ip = "127.0.0.1" } "PING" { family = "inet", port = 53895, ip = "127.0.0.1" } "PING" { family = "inet", port = 53895, 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: 0x3ff9be79b38" "hello" uv_thread_t: 0x3ff9be79b38 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: 0x3ff800eb2f0 "closed" uv_timer_t: 0x3ff800eb2f0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x3ff800eb390 "closed" { } uv_timer_t: 0x3ff800eb390 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 { { family = "inet6", addr = "::1", protocol = "tcp", port = 80, socktype = "stream" }, { family = "inet", addr = "127.0.0.1", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses { { family = "inet6", addr = "::1", protocol = "tcp", port = 80, socktype = "stream" }, { family = "inet", addr = "127.0.0.1", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 10 dns - Get all local http addresses sync { { family = "inet", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { family = "inet6", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { family = "inet", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172" }, { family = "inet6", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { family = "inet", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172" }, { family = "inet", protocol = "udp", canonname = "luvit.io", socktype = "dgram", addr = "206.189.225.172" }, { family = "inet6", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001" }, { family = "inet6", protocol = "udp", canonname = "luvit.io", socktype = "dgram", addr = "2604:a880:400:d0::1b9f:2001" } } 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-edge-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-edge-s390x.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { blocks = 16, birthtime = table: 0x3ff801c1740, size = 6066, gen = 0, mode = 33188, flags = 0, nlink = 1, uid = 1000, gid = 1000, dev = 65024, blksize = 4096, rdev = 0, ctime = table: 0x3ff801c16c0, type = "file", mtime = table: 0x3ff800d2e50, atime = table: 0x3ff800d2dd0, ino = 26741876 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { blocks = 16, birthtime = table: 0x3ff800d2950, size = 6066, gen = 0, mode = 33188, flags = 0, nlink = 1, uid = 1000, gid = 1000, dev = 65024, blksize = 4096, rdev = 0, ctime = table: 0x3ff800d28d0, type = "file", mtime = table: 0x3ff800eeeb0, atime = table: 0x3ff800eee30, ino = 26741876 } } { 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: 0x3ff800d6128 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 { ffree = 85985308, bsize = 4096, type = 61267, files = 91750400, blocks = 360956562, bfree = 207482320, bavail = 192274697 } ok 45 fs - fs.statfs sync { ffree = 85985308, bsize = 4096, type = 61267, files = 91750400, blocks = 360956562, bfree = 207482320, bavail = 192274697 } 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, events = 43, loop_count = 78 } { events_waiting = 0, events = 43, loop_count = 79 } ok 65 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 66 misc - uv.guess_handle { version_string = "1.51.0", version = 78592 } ok 67 misc - uv.version and uv.version_string { total = 33734049792.0, constrained = 0.0, available = 27583389696.0, free = 27583389696.0, rss = 2334720 } ok 68 misc - memory size { uptime = 11679957.09 } ok 69 misc - uv.uptime { nivcsw = 3, nsignals = 0, maxrss = 2560, msgsnd = 0, isrss = 0, minflt = 1182, oublock = 72, nvcsw = 79, stime = { sec = 0, usec = 350541 }, msgrcv = 0, utime = { sec = 0, usec = 290582 }, majflt = 0, nswap = 0, idrss = 0, ixrss = 0, inblock = 0 } ok 70 misc - uv.getrusage { nivcsw = 3, nsignals = 0, maxrss = 2560, msgsnd = 0, isrss = 0, minflt = 1120, oublock = 64, nvcsw = 25, stime = { sec = 0, usec = 349451 }, msgrcv = 0, utime = { sec = 0, usec = 289650 }, majflt = 0, nswap = 0, idrss = 0, ixrss = 0, inblock = 0 } ok 71 misc - uv.getrusage_thread 8 ok 72 misc - uv.available_parallelism { { model = "unknown", times = table: 0x3ff80071830, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80071c30, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80071db0, speed = 0.0 }, { model = "unknown", times = table: 0x3ff800d2c10, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80071d30, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80071df0, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80075f60, speed = 0.0 }, { model = "unknown", times = table: 0x3ff80076060, speed = 0.0 } } ok 73 misc - uv.cpu_info "eth0" { { family = "inet", ip = "172.16.10.4", mac = "\0>€h·", internal = false, netmask = "255.255.255.0" }, { family = "inet6", ip = "fe80::216:3eff:fe80:68b7", mac = "\0>€h·", internal = false, netmask = "ffff:ffff:ffff:ffff::" } } "lo" { { family = "inet", ip = "127.0.0.1", mac = "\0\0\0\0\0\0", internal = true, netmask = "255.0.0.0" }, { family = "inet6", ip = "::1", mac = "\0\0\0\0\0\0", internal = true, netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } ok 74 misc - uv.interface_addresses { 0.32, 0.18, 0.11 } 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 { gid = 1000, uid = 1000, homedir = "/home/buildozer", shell = "/bin/ash", username = "buildozer" } ok 79 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.51.0-1" "/" ok 80 misc - uv.cwd and uv.chdir 1.1679957094343e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { release = "6.6.57-0-lts", version = "#1-Alpine SMP 2024-10-17 17:05:15", machine = "s390x", sysname = "Linux" } ok 83 misc - uv.os_uname os.time 1747518454 uv.gettimeofday 1747518454.000766 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 = 11679958, nsec = 98386381 } nil "realtime" { sec = 11679958, nsec = 98402809 } 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: 0x3ff801d1590 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x3ff801d1610 "timeout" uv_timer_t: 0x3ff800eb4d0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x3ff801d1690 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: 0x3ff801d0640, pid = 24874 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 106 process - process stdout { handle = uv_process_t: 0x3ff801d0d00, pid = 24875 } "exit" uv_process_t: 0x3ff801d0d00 { status = 0, signal = 2 } ok 107 process - spawn and kill by pid { handle = uv_process_t: 0x3ff801d0d90, pid = 24876 } "exit" uv_process_t: 0x3ff801d0d90 { status = 0, signal = 15 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { handle = uv_process_t: 0x3ff801d0f40, pid = 24878 } "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" { code = 0, pid = 24880, signal = 0 } ok 114 signal - Catch SIGINT { server = uv_tcp_t: 0x3ff801b6eb0, address = { family = "inet", ip = "127.0.0.1", port = 45921 } } { client = uv_tcp_t: 0x3ff801e46d0, req = uv_connect_t: 0x3ff800e9058 } "server on connection" uv_tcp_t: 0x3ff801b6eb0 "client on connect" uv_tcp_t: 0x3ff801e46d0 nil "client on shutdown" uv_tcp_t: 0x3ff801e46d0 nil "client on close" uv_tcp_t: 0x3ff801e46d0 ok 115 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x3ff800d4c10, address = { family = "inet6", ip = "::1", port = 43119 } } { client = uv_tcp_t: 0x3ff800dc030, req = uv_connect_t: 0x3ff800eb328 } "server on connection" uv_tcp_t: 0x3ff800d4c10 "client on connect" uv_tcp_t: 0x3ff800dc030 nil "client on shutdown" uv_tcp_t: 0x3ff800dc030 nil "client on close" uv_tcp_t: 0x3ff800dc030 ok 116 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x3ff800d4e60, address = { family = "inet", ip = "127.0.0.1", port = 38865 } } { req = uv_write_t: 0x3ff801e46f8, socket = uv_tcp_t: 0x3ff801b6ed0 } "client onwrite" uv_tcp_t: 0x3ff801b6ed0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { server = uv_tcp_t: 0x3ff801e46d0, address = { family = "inet", ip = "127.0.0.1", port = 41203 } } { req = uv_write_t: 0x3ff801b6ee8, socket = uv_tcp_t: 0x3ff800d4e70 } "client onwrite" uv_tcp_t: 0x3ff800d4e70 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: 0x3ff800d4e50, address = { family = "inet", ip = "127.0.0.1", port = 41267 } } { req = uv_write_t: 0x3ff801b6f08, socket = uv_tcp_t: 0x3ff800dc020 } "client onwrite" uv_tcp_t: 0x3ff800dc020 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { server = uv_tcp_t: 0x3ff800d4c20, address = { family = "inet", ip = "127.0.0.1", port = 40763 } } { req = uv_write_t: 0x3ff800dc4d8, socket = uv_tcp_t: 0x3ff800f4b30 } "client onwrite" uv_tcp_t: 0x3ff800f4b30 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x3ff800dc4b0, address = { family = "inet", ip = "127.0.0.1", port = 37721 } } { req = uv_write_t: 0x3ff800f4b48, socket = uv_tcp_t: 0x3ff800d4c30 } "client onwrite" uv_tcp_t: 0x3ff800d4c30 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { server = uv_tcp_t: 0x3ff801e4130, address = { family = "inet", ip = "127.0.0.1", port = 44561 } } { req = uv_write_t: 0x3ff800d4e98, socket = uv_tcp_t: 0x3ff800f4b20 } "client onwrite" uv_tcp_t: 0x3ff800f4b20 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: 0x3ff7dc7fb38 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x3ff801b4cc0 Running uv_thread_t: 0x3ff801b4cc0 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 hello world from thread priority in thread 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname hello world from detached thread ok 135 thread - detach "timeout" uv_timer_t: 0x3ff800eb2f0 "closed" uv_timer_t: 0x3ff800eb2f0 ok 136 timer - simple timeout "interval" uv_timer_t: 0x3ff800eb4d0 "interval" uv_timer_t: 0x3ff800eb4d0 "interval" uv_timer_t: 0x3ff800eb4d0 "closed" uv_timer_t: 0x3ff800eb4d0 ok 137 timer - simple interval "interval" uv_timer_t: 0x3ff800e9020 "timeout" uv_timer_t: 0x3ff800eb570 "interval" uv_timer_t: 0x3ff800e9020 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x3ff800eb2f0 0 "interval" uv_timer_t: 0x3ff800eb2f0 8 "interval" uv_timer_t: 0x3ff800eb2f0 4 "interval" uv_timer_t: 0x3ff800eb2f0 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x3ff800eb4d0 0 "interval" uv_timer_t: 0x3ff800eb4d0 8 "interval" uv_timer_t: 0x3ff800eb4d0 4 "interval" uv_timer_t: 0x3ff800eb4d0 2 ok 140 timer - shrinking interval using methods ok 141 timer - timer init ok 142 timer - timer huge timeout { server = uv_udp_t: 0x3ff800792c0 } { client = uv_udp_t: 0x3ff800799b0, req = 0 } "client on send" uv_udp_t: 0x3ff800799b0 nil "server on recv" uv_udp_t: 0x3ff800792c0 "PING" { family = "inet", ip = "127.0.0.1", port = 41601 } { } "server on close" uv_udp_t: 0x3ff800792c0 "client on close" uv_udp_t: 0x3ff800799b0 ok 143 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x3ff800792b0 } { client = uv_udp_t: 0x3ff800799a0, req = 0 } "client on send" uv_udp_t: 0x3ff800799a0 nil "server on recv" uv_udp_t: 0x3ff800792b0 "PING" { family = "inet", ip = "127.0.0.1", port = 41228 } { } "server on close" uv_udp_t: 0x3ff800792b0 "client on close" uv_udp_t: 0x3ff800799a0 ok 144 udp - basic udp send from table { server = uv_udp_t: 0x3ff800792c0 } { client = uv_udp_t: 0x3ff800799b0, req = 0 } "client on send" uv_udp_t: 0x3ff800799b0 nil "server on recv" uv_udp_t: 0x3ff800792c0 "PING" { family = "inet6", ip = "::1", port = 51607 } { } "server on close" uv_udp_t: 0x3ff800792c0 "client on close" uv_udp_t: 0x3ff800799b0 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: 0x3ff800799a0 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x3ff800799a0 "PING" { family = "inet", ip = "127.0.0.1", port = 41239 } { } "server on recv" uv_udp_t: 0x3ff800799a0 "PING" { family = "inet", ip = "127.0.0.1", port = 41267 } { } "server on recv" uv_udp_t: 0x3ff800799a0 "PING" { family = "inet", ip = "127.0.0.1", port = 41267 } { } "server on recv" uv_udp_t: 0x3ff800799a0 nil nil { } "server on recv" uv_udp_t: 0x3ff800799a0 "PING" { family = "inet", ip = "127.0.0.1", port = 42208 } { } "client on close" uv_udp_t: 0x3ff800792c0 "server on close" uv_udp_t: 0x3ff800799a0 ok 147 udp - udp connect "PING" { family = "inet", ip = "172.16.10.4", port = 47011 } "PING" { family = "inet", ip = "172.16.10.4", port = 47011 } ok 148 udp - udp multicast join ipv4 "PING" { family = "inet6", ip = "fe80::216:3eff:fe80:68b7", port = 56142 } "PING" { family = "inet6", ip = "fe80::216:3eff:fe80:68b7", port = 56142 } ok 149 udp - udp multicast join ipv6 "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } "PING" { family = "inet", ip = "127.0.0.1", port = 33191 } ok 150 udp - udp recvmmsg sent 5 out of 5, expecting 4 to be received "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } ok 151 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { family = "inet", ip = "127.0.0.1", port = 54970 } "PING" { family = "inet", ip = "127.0.0.1", port = 54970 } "PING" { family = "inet", ip = "127.0.0.1", port = 54970 } "PING" { family = "inet", ip = "127.0.0.1", port = 54970 } "PING" { family = "inet", ip = "127.0.0.1", port = 54970 } 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: 0x3ff7ed79b38" "hello" uv_thread_t: 0x3ff7ed79b38 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: 0x03ff98494a70 "closed" uv_timer_t: 0x03ff98494a70 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x03ff984949d0 "closed" { } uv_timer_t: 0x03ff984949d0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions Skipping! This test is expected to fail on Lua 5.1 and LuaJIT. ok 7 coroutines-require - callback should be in main thread begin wait end wait ok 8 coroutines - coroutines { { addr = "::1", protocol = "tcp", socktype = "stream", family = "inet6", port = 80 }, { addr = "127.0.0.1", protocol = "tcp", socktype = "stream", family = "inet", port = 80 } } 2 ok 9 dns - Get all local http addresses { { addr = "::1", protocol = "tcp", socktype = "stream", family = "inet6", port = 80 }, { addr = "127.0.0.1", protocol = "tcp", socktype = "stream", family = "inet", port = 80 } } 2 ok 10 dns - Get all local http addresses sync { { addr = "206.189.225.172", canonname = "luvit.io", socktype = "stream", protocol = "tcp", family = "inet" } } 1 ok 11 dns - Get only ipv4 tcp addresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6" } } 1 ok 12 dns - Get only ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", canonname = "luvit.io", socktype = "stream", protocol = "tcp", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", socktype = "stream", protocol = "tcp", family = "inet6" } } 2 ok 13 dns - Get ipv4 and ipv6 tcp addresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet" }, { addr = "206.189.225.172", protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet6" } } 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-edge-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-edge-s390x.local", service = "0" } ok 19 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 20 dns - Lookup local port 80 service { fd = 14 } { stat = { flags = 0, gen = 0, ctime = table: 0x03ff98634d48, birthtime = table: 0x03ff98638c10, type = "file", size = 6066, mtime = table: 0x03ff9863ab38, atime = table: 0x03ff98632120, dev = 65024, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 26741876, blksize = 4096, blocks = 16 } } ok 21 fs - read a file sync ok 22 fs - read a file sync in chunks { fd = 14 } { stat = { type = "file", dev = 65024, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 26741876, blksize = 4096, blocks = 16, flags = 0, gen = 0, ctime = table: 0x03ff9863ab38, birthtime = table: 0x03ff98634d48, atime = table: 0x03ff98632120, mtime = table: 0x03ff98638d40, size = 6066 } } { chunk = 6066 } ok 23 fs - read a file async ok 24 fs - fs.write ok 25 fs - fs.write data refs ok 26 fs - fs.stat sync ok 27 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 28 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 29 fs - fs.stat async error { 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: 0x03ff98633aa0 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 { bsize = 4096, blocks = 360956562, type = 61267, files = 91750400, ffree = 85985308, bavail = 192274689, bfree = 207482312 } ok 45 fs - fs.statfs sync { bavail = 192274689, type = 61267, bsize = 4096, blocks = 360956562, bfree = 207482312, files = 91750400, ffree = 85985308 } 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 { total = 33734049792, constrained = 0, available = 27583270912, free = 27583270912, rss = 2621440 } ok 68 misc - memory size { uptime = 11679966.62 } ok 69 misc - uv.uptime { msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 70, nivcsw = 1, utime = { usec = 313881, sec = 0 }, stime = { usec = 340072, sec = 0 }, maxrss = 2560, ixrss = 0, idrss = 0, isrss = 0, minflt = 894, majflt = 0, nswap = 0, inblock = 0, oublock = 80 } ok 70 misc - uv.getrusage { utime = { usec = 313017, sec = 0 }, stime = { usec = 338816, sec = 0 }, maxrss = 2560, ixrss = 0, idrss = 0, isrss = 0, minflt = 810, majflt = 0, nswap = 0, inblock = 0, oublock = 64, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 19, nivcsw = 1 } ok 71 misc - uv.getrusage_thread 8 ok 72 misc - uv.available_parallelism { { times = table: 0x03ff986105e8, speed = 0, model = "unknown" }, { times = table: 0x03ff986232c0, speed = 0, model = "unknown" }, { times = table: 0x03ff98634ff0, speed = 0, model = "unknown" }, { times = table: 0x03ff986058f0, speed = 0, model = "unknown" }, { times = table: 0x03ff9861e450, speed = 0, model = "unknown" }, { times = table: 0x03ff986451c8, speed = 0, model = "unknown" }, { times = table: 0x03ff986127b0, speed = 0, model = "unknown" }, { times = table: 0x03ff9864a080, speed = 0, model = "unknown" } } ok 73 misc - uv.cpu_info "eth0" { { ip = "172.16.10.4", mac = "\0>€h·", netmask = "255.255.255.0", family = "inet", internal = false }, { ip = "fe80::216:3eff:fe80:68b7", mac = "\0>€h·", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false } } "lo" { { ip = "127.0.0.1", mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", family = "inet", internal = true }, { ip = "::1", mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true } } ok 74 misc - uv.interface_addresses { 0.35, 0.19, 0.11 } ok 75 misc - uv.loadavg "/usr/bin/luajit-2.1.1723681758" ok 76 misc - uv.exepath "/home/buildozer" ok 77 misc - uv.os_homedir "/tmp" ok 78 misc - uv.os_tmpdir { homedir = "/home/buildozer", username = "buildozer", uid = 1000, gid = 1000, shell = "/bin/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.1679966628565e+16 ok 81 misc - uv.hrtime ok 82 misc - uv.getpid { sysname = "Linux", machine = "s390x", release = "6.6.57-0-lts", version = "#1-Alpine SMP 2024-10-17 17:05:15" } ok 83 misc - uv.os_uname os.time 1747518464 uv.gettimeofday 1747518464.000301 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 = 635396141, sec = 11679967 } nil "realtime" { nsec = 635407336, sec = 11679967 } 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: 0x02aa05fe5f70 ok 101 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x03ff98494f20 "timeout" uv_timer_t: 0x02aa05fe51a0 ok 102 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x02aa05fe5f70 ok 103 prepare-check-idle-async - simple idle ok 104 prepare-check-idle-async - simple async ok 105 process - test disable_stdio_inheritance { pid = 24900, handle = uv_process_t: 0x02aa05fe53a0 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 106 process - process stdout { pid = 24901, handle = uv_process_t: 0x03ff985d8630 } "exit" uv_process_t: 0x03ff985d8630 { signal = 2, status = 0 } ok 107 process - spawn and kill by pid { pid = 24902, handle = uv_process_t: 0x02aa05fe5390 } "exit" uv_process_t: 0x02aa05fe5390 { signal = 15, status = 0 } ok 108 process - spawn and kill by handle ok 109 process - invalid command { pid = 24904, handle = uv_process_t: 0x03ff985d8620 } "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 = 24906, signal = 0, code = 0 } ok 114 signal - Catch SIGINT { address = { family = "inet", ip = "127.0.0.1", port = 44207 }, server = uv_tcp_t: 0x02aa05fe55b0 } { client = uv_tcp_t: 0x03ff985d8440, req = uv_connect_t: 0x03ff9863fa18 } "server on connection" uv_tcp_t: 0x02aa05fe55b0 "client on connect" uv_tcp_t: 0x03ff985d8440 nil "client on shutdown" uv_tcp_t: 0x03ff985d8440 nil "client on close" uv_tcp_t: 0x03ff985d8440 ok 115 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", ip = "::1", port = 43095 }, server = uv_tcp_t: 0x02aa05fe55c0 } { client = uv_tcp_t: 0x02aa05fe51a0, req = uv_connect_t: 0x03ff9863fa18 } "server on connection" uv_tcp_t: 0x02aa05fe55c0 "client on connect" uv_tcp_t: 0x02aa05fe51a0 nil "client on shutdown" uv_tcp_t: 0x02aa05fe51a0 nil "client on close" uv_tcp_t: 0x02aa05fe51a0 ok 116 tcp - basic tcp server and client (ipv6) { address = { family = "inet", ip = "127.0.0.1", port = 39793 }, server = uv_tcp_t: 0x02aa05fe5580 } { req = uv_write_t: 0x03ff98628038, socket = uv_tcp_t: 0x03ff985d8450 } "client onwrite" uv_tcp_t: 0x03ff985d8450 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 117 tcp - tcp echo server and client { address = { family = "inet", ip = "127.0.0.1", port = 37023 }, server = uv_tcp_t: 0x02aa05fe5590 } { req = uv_write_t: 0x03ff986495a0, socket = uv_tcp_t: 0x02aa05fe51b0 } "client onwrite" uv_tcp_t: 0x02aa05fe51b0 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", ip = "127.0.0.1", port = 36199 }, server = uv_tcp_t: 0x02aa05fe55b0 } { req = uv_write_t: 0x03ff98628038, socket = uv_tcp_t: 0x03ff985d8460 } "client onwrite" uv_tcp_t: 0x03ff985d8460 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 120 tcp - tcp close reset client { address = { family = "inet", ip = "127.0.0.1", port = 45979 }, server = uv_tcp_t: 0x02aa05fe55c0 } { req = uv_write_t: 0x03ff98628038, socket = uv_tcp_t: 0x02aa05fe51c0 } "client onwrite" uv_tcp_t: 0x02aa05fe51c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 121 tcp - tcp close reset after shutdown { address = { family = "inet", ip = "127.0.0.1", port = 36713 }, server = uv_tcp_t: 0x02aa05fe5580 } { req = uv_write_t: 0x03ff98628038, socket = uv_tcp_t: 0x03ff985d8420 } "client onwrite" uv_tcp_t: 0x03ff985d8420 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 122 tcp - tcp close reset accepted { address = { family = "inet", ip = "127.0.0.1", port = 41763 }, server = uv_tcp_t: 0x02aa05fe5590 } { req = uv_write_t: 0x03ff98628038, socket = uv_tcp_t: 0x02aa05fe51d0 } "client onwrite" uv_tcp_t: 0x02aa05fe51d0 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: 0x03ff9617fb38 { delay = 100, elapsed = 101 } ok 125 thread - test thread create ok 126 thread - test thread create with arguments Running uv_thread_t: 0x03ff985b4cc0 Running uv_thread_t: 0x03ff985b4cc0 { delay = 100, elapsed = 100 } ok 127 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 100 } ok 128 thread - test thread create with options table ok 129 thread - test thread arguments limit ok 130 thread - test avoid thread be released before it done ok 131 thread - thread_getcpu ok 132 thread - getaffinity, setaffinity default priority 0 priority after change 0 ok 133 thread - getpriority, setpriority ok 134 thread - getname, setname ok 135 thread - detach "timeout" uv_timer_t: 0x03ff985d8430 "closed" uv_timer_t: 0x03ff985d8430 ok 136 timer - simple timeout "interval" uv_timer_t: 0x02aa05fe51a0 "interval" uv_timer_t: 0x02aa05fe51a0 "interval" uv_timer_t: 0x02aa05fe51a0 "closed" uv_timer_t: 0x02aa05fe51a0 ok 137 timer - simple interval "interval" uv_timer_t: 0x03ff985d84d0 "timeout" uv_timer_t: 0x03ff985d8430 "interval" uv_timer_t: 0x03ff985d84d0 ok 138 timer - timeout with interval "interval" uv_timer_t: 0x02aa05fe51a0 0 "interval" uv_timer_t: 0x02aa05fe51a0 8 "interval" uv_timer_t: 0x02aa05fe51a0 4 "interval" uv_timer_t: 0x02aa05fe51a0 2 ok 139 timer - shrinking interval "interval" uv_timer_t: 0x03ff985d8430 0 "interval" uv_timer_t: 0x03ff985d8430 8 "interval" uv_timer_t: 0x03ff985d8430 4 "interval" uv_timer_t: 0x03ff985d8430 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: 0x03ff985b4e90 } { client = uv_udp_t: 0x03ff985d8440, req = 0 } "client on send" uv_udp_t: 0x03ff985d8440 nil "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet", ip = "127.0.0.1", port = 49031 } { } "server on close" uv_udp_t: 0x03ff985b4e90 "client on close" uv_udp_t: 0x03ff985d8440 ok 146 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x03ff985b4ea0 } { client = uv_udp_t: 0x02aa05fe51b0, req = 0 } "client on send" uv_udp_t: 0x02aa05fe51b0 nil "server on recv" uv_udp_t: 0x03ff985b4ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 50506 } { } "server on close" uv_udp_t: 0x03ff985b4ea0 "client on close" uv_udp_t: 0x02aa05fe51b0 ok 147 udp - basic udp send from table { server = uv_udp_t: 0x03ff985b4e90 } { client = uv_udp_t: 0x03ff985d8430, req = 0 } "client on send" uv_udp_t: 0x03ff985d8430 nil "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet6", ip = "::1", port = 37157 } { } "server on close" uv_udp_t: 0x03ff985b4e90 "client on close" uv_udp_t: 0x03ff985d8430 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: 0x03ff985b4e90 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet", ip = "127.0.0.1", port = 57573 } { } "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet", ip = "127.0.0.1", port = 40616 } { } "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet", ip = "127.0.0.1", port = 40616 } { } "server on recv" uv_udp_t: 0x03ff985b4e90 nil nil { } "server on recv" uv_udp_t: 0x03ff985b4e90 "PING" { family = "inet", ip = "127.0.0.1", port = 41311 } { } "client on close" uv_udp_t: 0x02aa05fe51a0 "server on close" uv_udp_t: 0x03ff985b4e90 ok 150 udp - udp connect "PING" { family = "inet", ip = "172.16.10.4", port = 44899 } "PING" { family = "inet", ip = "172.16.10.4", port = 44899 } ok 151 udp - udp multicast join ipv4 "PING" { family = "inet6", ip = "fe80::216:3eff:fe80:68b7", port = 50479 } "PING" { family = "inet6", ip = "fe80::216:3eff:fe80:68b7", port = 50479 } ok 152 udp - udp multicast join ipv6 "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } "PING" { family = "inet", ip = "127.0.0.1", port = 44493 } ok 153 udp - udp recvmmsg sent 5 out of 5, expecting 4 to be received "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } "PING" { family = "inet", ip = "127.0.0.1", port = 9125 } ok 154 udp - udp try_send2 not connected sent 5 out of 5, expecting 5 to be received "PING" { family = "inet", ip = "127.0.0.1", port = 37708 } "PING" { family = "inet", ip = "127.0.0.1", port = 37708 } "PING" { family = "inet", ip = "127.0.0.1", port = 37708 } "PING" { family = "inet", ip = "127.0.0.1", port = 37708 } "PING" { family = "inet", ip = "127.0.0.1", port = 37708 } 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: 0x03ff97a7cb38" "hello" uv_thread_t: 0x03ff97a7cb38 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 Sat, 17 May 2025 21:47:49 +0000 elapsed time 0h 0m 40s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/16) Purging .makedepends-lua-luv (20250517.214710) (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: 361 MiB in 108 packages >>> lua-luv: Updating the community/s390x repository index... >>> lua-luv: Signing the index...