>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.11.20-r0) started Thu, 06 Jul 2023 13:28:56 +0000 >>> lua-luv: Checking sanity of /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/17) Installing libarchive (3.6.2-r3) (2/17) Installing rhash-libs (1.4.3-r2) (3/17) Installing libuv (1.46.0-r0) (4/17) Installing cmake (3.26.4-r2) (5/17) Installing libuv-dev (1.46.0-r0) (6/17) Installing lua-compat53-dev (0.10-r1) (7/17) Installing samurai (1.2-r4) (8/17) Installing luajit (2.1_p20230410-r3) (9/17) Installing luajit-dev (2.1_p20230410-r3) (10/17) Installing lua5.1-libs (5.1.5-r12) (11/17) Installing lua5.1 (5.1.5-r12) (12/17) Installing lua5.1-dev (5.1.5-r12) (13/17) Installing lua5.4-libs (5.4.6-r0) (14/17) Installing readline (8.2.1-r2) (15/17) Installing lua5.4 (5.4.6-r0) (16/17) Installing lua5.4-dev (5.4.6-r0) (17/17) Installing .makedepends-lua-luv (20230706.132857) Executing busybox-1.36.1-r3.trigger OK: 436 MiB in 127 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.45.0-0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 127k 100 127k 0 0 416k 0 --:--:-- --:--:-- --:--:-- 416k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.45.0-0.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.45.0-0.tar.gz: OK disable-udp-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/edge/lua-luv-1.45.0-0.tar.gz... >>> lua-luv: disable-udp-test.patch patching file tests/test-udp.lua -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.1 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.4s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.4") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-jit [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C shared module luv.so [4/4] Linking C static library libluv.a >>> lua-luv: Running tests with lua5.1 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7d7a040 "closed" uv_timer_t: 0xf7d7a040 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d7a0a0 "closed" { } uv_timer_t: 0xf7d7a0a0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "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 11 dns - Get ipv4 and ipv6 tcp adresses 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 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-edge-x86.local" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "build-edge-x86.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { nlink = 1, ino = 36199973, mtime = table: 0xf7d797a0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7d79770, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7d797d0, birthtime = table: 0xf7d79800, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { nlink = 1, ino = 36199973, mtime = table: 0xf7d762f0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7d76290, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7d76350, birthtime = table: 0xf7d763b0, blocks = 16 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7dc0154 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 53242108, type = 61267, bsize = 4096, files = 54673408, bfree = 64180629, ffree = 50204447, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 53242108, type = 61267, bsize = 4096, files = 54673408, bfree = 64180629, ffree = 50204447, blocks = 214974462 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { rss = 1794048, total = 67493289984, free = 60793282560, constrained = 0, available = 60793282560 } ok 59 misc - memory size { uptime = 6045433.66 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 715001, sec = 0 }, oublock = 72, stime = { usec = 71707, sec = 0 }, nivcsw = 1, minflt = 713, idrss = 0, majflt = 0, nvcsw = 63, isrss = 0, nswap = 0, maxrss = 2116, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2997, times = table: 0xf7d78120, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2997, times = table: 0xf7d781b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3001, times = table: 0xf7d78210, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2369, times = table: 0xf7d78330, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2998, times = table: 0xf7db3c80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2034, times = table: 0xf7db3d10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db3d70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db3ec0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7db3f50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcb7b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1198, times = table: 0xf7dcb870, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcb900, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcb9c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcba20, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcba80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dcbb10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d8c2f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d8c350, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d8c410, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d8c590, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d8c620, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7db5f90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7db5ff0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db6050, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db60e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db61a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db6260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db7430, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7db7670, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d9e3c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d9e420, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7d9e4b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", internal = true, family = "inet", ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", ip = "::1" } } "eth0" { { mac = "\0>uš]", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.21.5" }, { mac = "\0>uš]", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe75:ba5d" } } ok 64 misc - uv.interface_addresses { 6.49, 5.15, 4.51 } ok 65 misc - uv.loadavg "/usr/bin/lua5.1" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/ash" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 6.0454342152366e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "5.15.108-0-lts", machine = "i686", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1688650162 uv.gettimeofday 1688650162.000433 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 236521521, sec = 6045435 } nil "realtime" { nsec = 236604485, sec = 6045435 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7d85870 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d85db0 "timeout" uv_timer_t: 0xf7d7a280 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d82220 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0xf7d72540, pid = 50686 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7d726d0, pid = 50687 } "exit" uv_process_t: 0xf7d726d0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d9bcb0, pid = 50688 } "exit" uv_process_t: 0xf7d9bcb0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7d9bf30, pid = 50690 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 50693, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 35237, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d83b50 } { req = uv_connect_t: 0xf7d6e964, client = uv_tcp_t: 0xf7d83d00 } "server on connection" uv_tcp_t: 0xf7d83b50 "client on connect" uv_tcp_t: 0xf7d83d00 nil "client on shutdown" uv_tcp_t: 0xf7d83d00 nil "client on close" uv_tcp_t: 0xf7d83d00 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 41143, ip = "::1" }, server = uv_tcp_t: 0xf7d8f2d0 } { req = uv_connect_t: 0xf7d6ef04, client = uv_tcp_t: 0xf7d8f750 } "server on connection" uv_tcp_t: 0xf7d8f2d0 "client on connect" uv_tcp_t: 0xf7d8f750 nil "client on shutdown" uv_tcp_t: 0xf7d8f750 nil "client on close" uv_tcp_t: 0xf7d8f750 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 37223, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d71840 } { req = uv_write_t: 0xf7ddd424, socket = uv_tcp_t: 0xf7d718d0 } "client onwrite" uv_tcp_t: 0xf7d718d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 32909, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d719f0 } { req = uv_write_t: 0xf7de05a4, socket = uv_tcp_t: 0xf7d71a80 } "client onwrite" uv_tcp_t: 0xf7d71a80 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { address = { family = "inet", port = 46803, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d71c30 } { req = uv_write_t: 0xf7d97924, socket = uv_tcp_t: 0xf7d71cc0 } "client onwrite" uv_tcp_t: 0xf7d71cc0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 41733, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d71de0 } { req = uv_write_t: 0xf7d99884, socket = uv_tcp_t: 0xf7d71e70 } "client onwrite" uv_tcp_t: 0xf7d71e70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 34299, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d83b50 } { req = uv_write_t: 0xf7ddd424, socket = uv_tcp_t: 0xf7d83d00 } "client onwrite" uv_tcp_t: 0xf7d83d00 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 44449, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d8f750 } { req = uv_write_t: 0xf7de05a4, socket = uv_tcp_t: 0xf7d71840 } "client onwrite" uv_tcp_t: 0xf7d71840 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf5d3bd90 { delay = 100, elapsed = 102 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f28c84 Runing uv_thread_t: 0xf7f28c84 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7d7a280 "closed" uv_timer_t: 0xf7d7a280 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7db6fe0 "interval" uv_timer_t: 0xf7db6fe0 "interval" uv_timer_t: 0xf7db6fe0 "closed" uv_timer_t: 0xf7db6fe0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7da11e0 "timeout" uv_timer_t: 0xf7da1180 "interval" uv_timer_t: 0xf7da11e0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7da1240 0 "interval" uv_timer_t: 0xf7da1240 8 "interval" uv_timer_t: 0xf7da1240 4 "interval" uv_timer_t: 0xf7da1240 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d79fe0 0 "interval" uv_timer_t: 0xf7d79fe0 8 "interval" uv_timer_t: 0xf7d79fe0 4 "interval" uv_timer_t: 0xf7d79fe0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7d97690 } { req = 0, client = uv_udp_t: 0xf7d97790 } "client on send" uv_udp_t: 0xf7d97790 nil "server on recv" uv_udp_t: 0xf7d97690 "PING" { family = "inet", port = 53326, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7d97690 "client on close" uv_udp_t: 0xf7d97790 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d97d10 } { req = 0, client = uv_udp_t: 0xf7d97e10 } "client on send" uv_udp_t: 0xf7d97e10 nil "server on recv" uv_udp_t: 0xf7d97d10 "PING" { family = "inet", port = 56794, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7d97d10 "client on close" uv_udp_t: 0xf7d97e10 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7ddd190 } { req = 0, client = uv_udp_t: 0xf7ddd290 } "client on send" uv_udp_t: 0xf7ddd290 nil "server on recv" uv_udp_t: 0xf7ddd190 "PING" { family = "inet6", port = 57810, ip = "::1" } { } "server on close" uv_udp_t: 0xf7ddd190 "client on close" uv_udp_t: 0xf7ddd290 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0xf7d97310 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7d97310 "PING" { family = "inet", port = 38281, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d97310 "PING" { family = "inet", port = 32902, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d97310 "PING" { family = "inet", port = 32902, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d97310 nil nil { } "server on recv" uv_udp_t: 0xf7d97310 "PING" { family = "inet", port = 56932, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7d97390 "server on close" uv_udp_t: 0xf7d97310 ok 130 udp - udp connect "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } "PING" { family = "inet", port = 59213, ip = "127.0.0.1" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf6563d90" "hello" uv_thread_t: 0xf6563d90 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: ? ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Running tests with lua5.4 1..137 "in async notify callback" "a" true 250.0 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7d36260 "closed" uv_timer_t: 0xf7d36260 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d362c0 "closed" { } uv_timer_t: 0xf7d362c0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { family = "inet6", port = 80, socktype = "stream", protocol = "tcp", addr = "::1" }, { family = "inet", port = 80, socktype = "stream", protocol = "tcp", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", port = 80, socktype = "stream", protocol = "tcp", addr = "::1" }, { family = "inet", port = 80, socktype = "stream", protocol = "tcp", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", socktype = "stream", protocol = "tcp", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", socktype = "stream", protocol = "tcp", canonname = "luvit.io" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", protocol = "tcp", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", socktype = "stream", protocol = "tcp", canonname = "luvit.io" }, { family = "inet", addr = "206.189.225.172", socktype = "dgram", protocol = "udp", canonname = "luvit.io" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", protocol = "tcp", canonname = "luvit.io" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", protocol = "udp", canonname = "luvit.io" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-edge-x86.local", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "build-edge-x86.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { dev = 64769, nlink = 1, rdev = 0, birthtime = table: 0xf7d395a0, blksize = 4096, flags = 0, mode = 33188, size = 6060, gid = 1000, gen = 0, type = "file", mtime = table: 0xf7d39450, atime = table: 0xf7d39420, blocks = 16, ctime = table: 0xf7d39570, ino = 36199973, uid = 1000 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { dev = 64769, nlink = 1, rdev = 0, birthtime = table: 0xf7d3af50, blksize = 4096, flags = 0, mode = 33188, size = 6060, gid = 1000, gen = 0, type = "file", mtime = table: 0xf7d42710, atime = table: 0xf7d42560, blocks = 16, ctime = table: 0xf7d3af20, ino = 36199973, uid = 1000 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } uv_dir_t: 0xf7d39440 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bsize = 4096, type = 61267, files = 54673408, blocks = 214974462, ffree = 50204447, bfree = 64180622, bavail = 53242101 } ok 41 fs - fs.statfs sync { bsize = 4096, type = 61267, files = 54673408, blocks = 214974462, ffree = 50204447, bfree = 64180622, bavail = 53242101 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { free = 60798746624.0, constrained = 0.0, rss = 1843200, available = 60798746624.0, total = 67493289984.0 } ok 59 misc - memory size { uptime = 6045442.9 } ok 60 misc - uv.uptime { nivcsw = 0, nvcsw = 67, nsignals = 0, majflt = 0, ixrss = 0, isrss = 0, oublock = 72, inblock = 0, idrss = 0, maxrss = 2056, nswap = 0, msgrcv = 0, msgsnd = 0, stime = { usec = 65993, sec = 0 }, minflt = 656, utime = { usec = 686701, sec = 0 } } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2996.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d393f0 }, { speed = 1397.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d39570 }, { speed = 2507.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d39630 }, { speed = 2899.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d39690 }, { speed = 2943.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d396f0 }, { speed = 1500.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3a7a0 }, { speed = 1918.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3a860 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3a9b0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3aa70 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d744c0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d43640 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d5e5e0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d370b0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d37140 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d372f0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d507b0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d44180 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d42860 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d42b90 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3af50 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d37b60 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d38370 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d76590 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d60dd0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d74310 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d386a0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d42560 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3bee0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3bf40 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3bfa0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3c030 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0xf7d3c090 } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", internal = true, family = "inet", ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", ip = "::1" } } "eth0" { { mac = "\0>uš]", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.21.5" }, { mac = "\0>uš]", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe75:ba5d" } } ok 64 misc - uv.interface_addresses { 5.58, 5.0, 4.47 } ok 65 misc - uv.loadavg "/usr/bin/lua5.4" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { homedir = "/home/buildozer", gid = 1000, uid = 1000, username = "buildozer", shell = "/bin/ash" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 6.0454434461676e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { machine = "i686", release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1688650171 uv.gettimeofday 1688650171.000662 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 458796201, sec = 6045444 } nil "realtime" { nsec = 458872001, sec = 6045444 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7d35dd0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d4d7f0 "timeout" uv_timer_t: 0xf7d34970 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d4dc30 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0xf7d35760, pid = 50722 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7d35080, pid = 50723 } "exit" uv_process_t: 0xf7d35080 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d4ba70, pid = 50724 } "exit" uv_process_t: 0xf7d4ba70 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7d353f0, pid = 50726 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 50729, code = 0 } ok 100 signal - Catch SIGINT { address = { ip = "127.0.0.1", family = "inet", port = 45933 }, server = uv_tcp_t: 0xf7d37c80 } { req = uv_connect_t: 0xf7d33760, client = uv_tcp_t: 0xf7d3baf0 } "server on connection" uv_tcp_t: 0xf7d37c80 "client on connect" uv_tcp_t: 0xf7d3baf0 nil "client on shutdown" uv_tcp_t: 0xf7d3baf0 nil "client on close" uv_tcp_t: 0xf7d3baf0 ok 101 tcp - basic tcp server and client (ipv4) { address = { ip = "::1", family = "inet6", port = 45989 }, server = uv_tcp_t: 0xf7d44540 } { req = uv_connect_t: 0xf7d4a3a0, client = uv_tcp_t: 0xf7d3c6c0 } "server on connection" uv_tcp_t: 0xf7d44540 "client on connect" uv_tcp_t: 0xf7d3c6c0 nil "client on shutdown" uv_tcp_t: 0xf7d3c6c0 nil "client on close" uv_tcp_t: 0xf7d3c6c0 ok 102 tcp - basic tcp server and client (ipv6) { address = { ip = "127.0.0.1", family = "inet", port = 37963 }, server = uv_tcp_t: 0xf7d37e30 } { req = uv_write_t: 0xf7d3cfe0, socket = uv_tcp_t: 0xf7d3cea0 } "client onwrite" uv_tcp_t: 0xf7d3cea0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { ip = "127.0.0.1", family = "inet", port = 44555 }, server = uv_tcp_t: 0xf7d37c80 } { req = uv_write_t: 0xf7d3d7c0, socket = uv_tcp_t: 0xf7d3d680 } "client onwrite" uv_tcp_t: 0xf7d3d680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { address = { ip = "127.0.0.1", family = "inet", port = 37581 }, server = uv_tcp_t: 0xf7d37c80 } { req = uv_write_t: 0xf7d3dfa0, socket = uv_tcp_t: 0xf7d3de60 } "client onwrite" uv_tcp_t: 0xf7d3de60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { ip = "127.0.0.1", family = "inet", port = 42459 }, server = uv_tcp_t: 0xf7d44540 } { req = uv_write_t: 0xf7d3e780, socket = uv_tcp_t: 0xf7d3e640 } "client onwrite" uv_tcp_t: 0xf7d3e640 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { ip = "127.0.0.1", family = "inet", port = 45733 }, server = uv_tcp_t: 0xf7d37e30 } { req = uv_write_t: 0xf7d3b450, socket = uv_tcp_t: 0xf7d3b310 } "client onwrite" uv_tcp_t: 0xf7d3b310 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { ip = "127.0.0.1", family = "inet", port = 44869 }, server = uv_tcp_t: 0xf7d37c80 } { req = uv_write_t: 0xf7d3c410, socket = uv_tcp_t: 0xf7d3c2d0 } "client onwrite" uv_tcp_t: 0xf7d3c2d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf5d26d90 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f5cc84 Runing uv_thread_t: 0xf7f5cc84 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 102, delay = 100 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7d33740 "closed" uv_timer_t: 0xf7d33740 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7d337a0 "interval" uv_timer_t: 0xf7d337a0 "interval" uv_timer_t: 0xf7d337a0 "closed" uv_timer_t: 0xf7d337a0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d4b1e0 "timeout" uv_timer_t: 0xf7d46560 "interval" uv_timer_t: 0xf7d4b1e0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d4b2a0 0 "interval" uv_timer_t: 0xf7d4b2a0 8 "interval" uv_timer_t: 0xf7d4b2a0 4 "interval" uv_timer_t: 0xf7d4b2a0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d4a380 0 "interval" uv_timer_t: 0xf7d4a380 8 "interval" uv_timer_t: 0xf7d4a380 4 "interval" uv_timer_t: 0xf7d4a380 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7e87f40 } { req = 0, client = uv_udp_t: 0xf7d45550 } "client on send" uv_udp_t: 0xf7d45550 nil "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "127.0.0.1", family = "inet", port = 56396 } { } "server on close" uv_udp_t: 0xf7e87f40 "client on close" uv_udp_t: 0xf7d45550 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d45550 } { req = 0, client = uv_udp_t: 0xf7e87f40 } "client on send" uv_udp_t: 0xf7e87f40 nil "server on recv" uv_udp_t: 0xf7d45550 "PING" { ip = "127.0.0.1", family = "inet", port = 51802 } { } "server on close" uv_udp_t: 0xf7d45550 "client on close" uv_udp_t: 0xf7e87f40 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7e87f40 } { req = 0, client = uv_udp_t: 0xf7d45550 } "client on send" uv_udp_t: 0xf7d45550 nil "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "::1", family = "inet6", port = 49802 } { } "server on close" uv_udp_t: 0xf7e87f40 "client on close" uv_udp_t: 0xf7d45550 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0xf7e87f40 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "127.0.0.1", family = "inet", port = 55369 } { } "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "127.0.0.1", family = "inet", port = 38502 } { } "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "127.0.0.1", family = "inet", port = 38502 } { } "server on recv" uv_udp_t: 0xf7e87f40 nil nil { } "server on recv" uv_udp_t: 0xf7e87f40 "PING" { ip = "127.0.0.1", family = "inet", port = 39826 } { } "client on close" uv_udp_t: 0xf7d45550 "server on close" uv_udp_t: 0xf7e87f40 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } "PING" { ip = "127.0.0.1", family = "inet", port = 42158 } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250.0 2.0 4.0 "uv_thread_t: 0xf6529d90" "hello" uv_thread_t: 0xf6529d90 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 hello world from thread 6 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 137 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7fb4180 "closed" uv_timer_t: 0xf7fb4180 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7f15250 "closed" { } uv_timer_t: 0xf7f15250 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { family = "inet6", protocol = "tcp", addr = "::1", socktype = "stream", port = 80 }, { family = "inet", protocol = "tcp", addr = "127.0.0.1", socktype = "stream", port = 80 } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", port = 80, addr = "::1", socktype = "stream", protocol = "tcp" }, { family = "inet", port = 80, addr = "127.0.0.1", socktype = "stream", protocol = "tcp" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", socktype = "stream", canonname = "luvit.io" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { family = "inet", 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 = "inet6", 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" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-edge-x86.local", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "build-edge-x86.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 36199973, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7ed6c68, mtime = table: 0xf7e5df28, ctime = table: 0xf7e26c30, birthtime = table: 0xf7e5ee48, size = 6060, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { flags = 0, gen = 0, atime = table: 0xf7e33998, mtime = table: 0xf7e46ab0, ctime = table: 0xf7e4b618, birthtime = table: 0xf7e27c90, dev = 64769, mode = 33188, nlink = 1, type = "file", size = 6060, uid = 1000, gid = 1000, rdev = 0, ino = 36199973, blksize = 4096, blocks = 16 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } uv_dir_t: 0xf7e31e60 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { type = 61267, ffree = 50204447, bavail = 53242093, bsize = 4096, blocks = 214974462, bfree = 64180614, files = 54673408 } ok 41 fs - fs.statfs sync { type = 61267, bfree = 64180614, files = 54673408, ffree = 50204447, bavail = 53242093, blocks = 214974462, bsize = 4096 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.46.0", version = 77312 } ok 58 misc - uv.version and uv.version_string { rss = 2453504, total = 67493289984, constrained = 0, available = 60801060864, free = 60801060864 } ok 59 misc - memory size { uptime = 6045452.08 } ok 60 misc - uv.uptime { nvcsw = 63, nivcsw = 2, utime = { sec = 0, usec = 694744 }, stime = { sec = 0, usec = 66360 }, maxrss = 2400, ixrss = 0, idrss = 0, isrss = 0, minflt = 548, majflt = 0, nswap = 0, inblock = 0, oublock = 80, msgsnd = 0, msgrcv = 0, nsignals = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { times = table: 0xf7e4f9c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2199 }, { times = table: 0xf7e62ff8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1941 }, { times = table: 0xf7e339e8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1699 }, { times = table: 0xf7e46518, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1699 }, { times = table: 0xf7e27c90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1817 }, { times = table: 0xf7e26c30, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1699 }, { times = table: 0xf7e337f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1700 }, { times = table: 0xf7e5df28, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1429 }, { times = table: 0xf7e2f2e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e47c40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e5c9d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e49610, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e286a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e4d800, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e5e318, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e2a0b8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e4b618, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e2eb38, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e28568, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e27c48, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200 }, { times = table: 0xf7ed69d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200 }, { times = table: 0xf7e307f8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e31128, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e46660, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e2f6e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e5a468, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e349d8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e47968, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e5b278, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e45530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e4d9f8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e4d0b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 } } ok 63 misc - uv.cpu_info "lo" { { family = "inet", mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", ip = "127.0.0.1", internal = true }, { family = "inet6", mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1", internal = true } } "eth0" { { family = "inet", mac = "\0>uš]", netmask = "255.255.255.0", ip = "172.16.21.5", internal = false }, { family = "inet6", mac = "\0>uš]", netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe75:ba5d", internal = false } } ok 64 misc - uv.interface_addresses { 4.8, 4.85, 4.42 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.0-beta3" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 6.0454526367774e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { machine = "i686", release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1688650180 uv.gettimeofday 1688650180.000854 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { sec = 6045453, nsec = 655946409 } nil "realtime" { sec = 6045453, nsec = 656004430 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7f15fb0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x56659fc0 "timeout" uv_timer_t: 0x566591c0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7f15fb0 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0x56659280, pid = 50756 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x566592e0, pid = 50757 } "exit" uv_process_t: 0x566592e0 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x566591d0, pid = 50758 } "exit" uv_process_t: 0x566591d0 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x56659290, pid = 50760 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 50763, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x56659550, address = { family = "inet", ip = "127.0.0.1", port = 39753 } } { req = uv_connect_t: 0xf7e3ca18, client = uv_tcp_t: 0x566595f0 } "server on connection" uv_tcp_t: 0x56659550 "client on connect" uv_tcp_t: 0x566595f0 nil "client on shutdown" uv_tcp_t: 0x566595f0 nil "client on close" uv_tcp_t: 0x566595f0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x56659560, address = { family = "inet6", ip = "::1", port = 34063 } } { req = uv_connect_t: 0xf7e3ca18, client = uv_tcp_t: 0x56659600 } "server on connection" uv_tcp_t: 0x56659560 "client on connect" uv_tcp_t: 0x56659600 nil "client on shutdown" uv_tcp_t: 0x56659600 nil "client on close" uv_tcp_t: 0x56659600 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x56659550, address = { family = "inet", ip = "127.0.0.1", port = 41257 } } { socket = uv_tcp_t: 0x566595f0, req = uv_write_t: 0xf7e4de10 } "client onwrite" uv_tcp_t: 0x566595f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x56659560, address = { family = "inet", ip = "127.0.0.1", port = 36125 } } { socket = uv_tcp_t: 0x56659600, req = uv_write_t: 0xf7eec250 } "client onwrite" uv_tcp_t: 0x56659600 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0x56659560, address = { family = "inet", ip = "127.0.0.1", port = 46607 } } { socket = uv_tcp_t: 0x566595f0, req = uv_write_t: 0xf7e4de10 } "client onwrite" uv_tcp_t: 0x566595f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x56659550, address = { family = "inet", ip = "127.0.0.1", port = 44789 } } { socket = uv_tcp_t: 0x56659600, req = uv_write_t: 0xf7e4de10 } "client onwrite" uv_tcp_t: 0x56659600 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x56659560, address = { family = "inet", ip = "127.0.0.1", port = 38933 } } { socket = uv_tcp_t: 0x566595f0, req = uv_write_t: 0xf7e4de10 } "client onwrite" uv_tcp_t: 0x566595f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x56659550, address = { family = "inet", ip = "127.0.0.1", port = 37767 } } { socket = uv_tcp_t: 0x56659600, req = uv_write_t: 0xf7e4de10 } "client onwrite" uv_tcp_t: 0x56659600 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf5daad90 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7fb49d0 Runing uv_thread_t: 0xf7fb49d0 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 101, delay = 100 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0x566592e0 "closed" uv_timer_t: 0x566592e0 ok 119 timer - simple timeout "interval" uv_timer_t: 0x566591c0 "interval" uv_timer_t: 0x566591c0 "interval" uv_timer_t: 0x566591c0 "closed" uv_timer_t: 0x566591c0 ok 120 timer - simple interval "interval" uv_timer_t: 0x56659280 "timeout" uv_timer_t: 0x56659220 "interval" uv_timer_t: 0x56659280 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x566592e0 0 "interval" uv_timer_t: 0x566592e0 8 "interval" uv_timer_t: 0x566592e0 4 "interval" uv_timer_t: 0x566592e0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x566591c0 0 "interval" uv_timer_t: 0x566591c0 8 "interval" uv_timer_t: 0x566591c0 4 "interval" uv_timer_t: 0x566591c0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7f15f20 } { req = 0, client = uv_udp_t: 0x56659f30 } "client on send" uv_udp_t: 0x56659f30 nil "server on recv" uv_udp_t: 0xf7f15f20 "PING" { family = "inet", ip = "127.0.0.1", port = 38765 } { } "server on close" uv_udp_t: 0xf7f15f20 "client on close" uv_udp_t: 0x56659f30 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7f15f20 } { req = 0, client = uv_udp_t: 0x56659f30 } "client on send" uv_udp_t: 0x56659f30 nil "server on recv" uv_udp_t: 0xf7f15f20 "PING" { family = "inet", ip = "127.0.0.1", port = 36636 } { } "server on close" uv_udp_t: 0xf7f15f20 "client on close" uv_udp_t: 0x56659f30 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7f15f20 } { req = 0, client = uv_udp_t: 0x56659f30 } "client on send" uv_udp_t: 0x56659f30 nil "server on recv" uv_udp_t: 0xf7f15f20 "PING" { family = "inet6", ip = "::1", port = 52223 } { } "server on close" uv_udp_t: 0xf7f15f20 "client on close" uv_udp_t: 0x56659f30 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0x56659f30 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x56659f30 "PING" { family = "inet", ip = "127.0.0.1", port = 53525 } { } "server on recv" uv_udp_t: 0x56659f30 "PING" { family = "inet", ip = "127.0.0.1", port = 46953 } { } "server on recv" uv_udp_t: 0x56659f30 "PING" { family = "inet", ip = "127.0.0.1", port = 46953 } { } "server on recv" uv_udp_t: 0x56659f30 nil nil { } "server on recv" uv_udp_t: 0x56659f30 "PING" { family = "inet", ip = "127.0.0.1", port = 41802 } { } "client on close" uv_udp_t: 0xf7f15f20 "server on close" uv_udp_t: 0x56659f30 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } "PING" { family = "inet", ip = "127.0.0.1", port = 36214 } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf6613d90" "hello" uv_thread_t: 0xf6613d90 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: at 0xf7eb7ac3 ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Entering fakeroot... -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.a -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1.45.0 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/pkgconfig/libluv.pc -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h >>> lua-luv-static*: Running split function static... >>> 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... >>> 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... '/home/buildozer/aports/community/lua-luv/pkg/lua-luv/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-x86.so.1 so:libuv.so.1 >>> libluv*: Package size: 160.0 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.45.0.0-r0.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.45.0.0-r0 pkgconfig >>> lua-luv-dev*: Package size: 56.0 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.45.0.0-r0.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 216.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.45.0.0-r0.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.45.0.0-r0.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 188.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.45.0.0-r0.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 184.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.45.0.0-r0.apk >>> lua-luv: Build complete at Thu, 06 Jul 2023 13:29:48 +0000 elapsed time 0h 0m 52s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/17) Purging .makedepends-lua-luv (20230706.132857) (2/17) Purging cmake (3.26.4-r2) (3/17) Purging libuv-dev (1.46.0-r0) (4/17) Purging libuv (1.46.0-r0) (5/17) Purging lua-compat53-dev (0.10-r1) (6/17) Purging luajit-dev (2.1_p20230410-r3) (7/17) Purging luajit (2.1_p20230410-r3) (8/17) Purging lua5.1-dev (5.1.5-r12) (9/17) Purging lua5.1 (5.1.5-r12) (10/17) Purging lua5.1-libs (5.1.5-r12) (11/17) Purging lua5.4-dev (5.4.6-r0) (12/17) Purging lua5.4 (5.4.6-r0) (13/17) Purging lua5.4-libs (5.4.6-r0) (14/17) Purging libarchive (3.6.2-r3) (15/17) Purging readline (8.2.1-r2) (16/17) Purging rhash-libs (1.4.3-r2) (17/17) Purging samurai (1.2-r4) Executing busybox-1.36.1-r3.trigger OK: 378 MiB in 110 packages >>> lua-luv: Updating the community/x86 repository index... >>> lua-luv: Signing the index...