>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.12.0-r0) started Thu, 26 Oct 2023 19:59:02 +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/19) Installing libbz2 (1.0.8-r6) (2/19) Installing xz-libs (5.4.4-r0) (3/19) Installing libarchive (3.7.2-r0) (4/19) Installing rhash-libs (1.4.4-r0) (5/19) Installing libuv (1.46.0-r0) (6/19) Installing cmake (3.27.7-r2) (7/19) Installing libuv-dev (1.46.0-r0) (8/19) Installing lua-compat53-dev (0.10-r1) (9/19) Installing samurai (1.2-r5) (10/19) Installing luajit (2.1_p20230410-r3) (11/19) Installing luajit-dev (2.1_p20230410-r3) (12/19) Installing lua5.1-libs (5.1.5-r13) (13/19) Installing lua5.1 (5.1.5-r13) (14/19) Installing lua5.1-dev (5.1.5-r13) (15/19) Installing lua5.4-libs (5.4.6-r1) (16/19) Installing readline (8.2.1-r2) (17/19) Installing lua5.4 (5.4.6-r1) (18/19) Installing lua5.4-dev (5.4.6-r1) (19/19) Installing .makedepends-lua-luv (20231026.195909) Executing busybox-1.36.1-r13.trigger OK: 444 MiB in 121 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/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 13005 0 13005 0 0 24896 0 --:--:-- --:--:-- --:--:-- 24896 100 127k 0 127k 0 0 229k 0 --:--:-- --:--:-- --:--:-- 3696k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/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/v3.19/lua-luv-1.45.0-0.tar.gz... >>> lua-luv: disable-udp-test.patch patching file tests/test-udp.lua CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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 library libluv.so.1.45.0 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.4s) -- 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 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.4s) -- 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: 0xf7d83040 "closed" uv_timer_t: 0xf7d83040 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d830a0 "closed" { } uv_timer_t: 0xf7d830a0 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 = "localhost" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "localhost" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 41 } { stat = { nlink = 1, ino = 30295739, mtime = table: 0xf7dd0310, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7dd0280, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7d82770, birthtime = table: 0xf7d827a0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 41 } { stat = { nlink = 1, ino = 30295739, mtime = table: 0xf7d7f260, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7d7f1d0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7d7f290, birthtime = table: 0xf7d7f2f0, 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: 0xf7d80b54 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 = 40302763, type = 61267, bsize = 4096, files = 54673408, bfree = 51241284, ffree = 49930470, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 40302762, type = 61267, bsize = 4096, files = 54673408, bfree = 51241283, ffree = 49930470, 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 = 1802240, total = 67493289984, free = 60800708608, constrained = 0, available = 60800708608 } ok 59 misc - memory size { uptime = 15745645.69 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 727518, sec = 0 }, oublock = 72, stime = { usec = 66292, sec = 0 }, nivcsw = 3, minflt = 725, idrss = 0, majflt = 0, nvcsw = 66, isrss = 0, nswap = 0, maxrss = 2124, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 1481, times = table: 0xf7da6420, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1748, times = table: 0xf7da64b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7da6570, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7da65d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7da6660, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7da66c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7daa2c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7daa380, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1274, times = table: 0xf7daa410, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1555, times = table: 0xf7daa4a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7daa560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7daa5f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dc1a70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dc1bf0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dc1cb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dc1d70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7ddc350, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7ddc3b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7ddc410, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7ddc4d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7ddc590, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7ddc6b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dbe080, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dbe170, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dbe200, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1198, times = table: 0xf7dbe290, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dd0070, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dd00d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dd0160, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dd01f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1359, times = table: 0xf7dd0250, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0xf7dd0310, 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>bR¬", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.21.19" }, { mac = "\0>bR¬", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe62:52ac" } } ok 64 misc - uv.interface_addresses { 1.2, 1.3, 1.05 } 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 1.5745646249879e+16 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 1698350374 uv.gettimeofday 1698350374.000468 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 = 272609256, sec = 15745647 } nil "realtime" { nsec = 272692520, sec = 15745647 } 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: 0xf7d9ef50 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d761e0 "timeout" uv_timer_t: 0xf7d83280 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d76760 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: 0xf7d9a260, pid = 61961 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7da0750, pid = 61962 } "exit" uv_process_t: 0xf7da0750 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7de8840, pid = 61963 } "exit" uv_process_t: 0xf7de8840 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7da2620, pid = 61965 } "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 = 61968, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 45287, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d99360 } { req = uv_connect_t: 0xf7d7a374, client = uv_tcp_t: 0xf7d8de20 } "server on connection" uv_tcp_t: 0xf7d99360 "client on connect" uv_tcp_t: 0xf7d8de20 nil "client on shutdown" uv_tcp_t: 0xf7d8de20 nil "client on close" uv_tcp_t: 0xf7d8de20 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 35841, ip = "::1" }, server = uv_tcp_t: 0xf7d8deb0 } { req = uv_connect_t: 0xf7da3904, client = uv_tcp_t: 0xf7d991b0 } "server on connection" uv_tcp_t: 0xf7d8deb0 "client on connect" uv_tcp_t: 0xf7d991b0 nil "client on shutdown" uv_tcp_t: 0xf7d991b0 nil "client on close" uv_tcp_t: 0xf7d991b0 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 33203, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d99360 } { req = uv_write_t: 0xf7de67a4, socket = uv_tcp_t: 0xf7d8de20 } "client onwrite" uv_tcp_t: 0xf7d8de20 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 44333, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d991b0 } { req = uv_write_t: 0xf7de6ea4, socket = uv_tcp_t: 0xf7d99360 } "client onwrite" uv_tcp_t: 0xf7d99360 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 = 36591, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d991b0 } { req = uv_write_t: 0xf7da1094, socket = uv_tcp_t: 0xf7d99360 } "client onwrite" uv_tcp_t: 0xf7d99360 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 34143, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d8deb0 } { req = uv_write_t: 0xf7db9634, socket = uv_tcp_t: 0xf7d991b0 } "client onwrite" uv_tcp_t: 0xf7d991b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 46207, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d8de20 } { req = uv_write_t: 0xf7de6824, socket = uv_tcp_t: 0xf7d8deb0 } "client onwrite" uv_tcp_t: 0xf7d8deb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 35887, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7d99360 } { req = uv_write_t: 0xf7de6f24, socket = uv_tcp_t: 0xf7d8de20 } "client onwrite" uv_tcp_t: 0xf7d8de20 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: 0xf5d43d90 { delay = 100, elapsed = 103 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f35c64 Runing uv_thread_t: 0xf7f35c64 { delay = 100, elapsed = 101 } 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: 0xf7d83280 "closed" uv_timer_t: 0xf7d83280 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7dbb8c0 "interval" uv_timer_t: 0xf7dbb8c0 "interval" uv_timer_t: 0xf7dbb8c0 "closed" uv_timer_t: 0xf7dbb8c0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7da9db0 "timeout" uv_timer_t: 0xf7da9d50 "interval" uv_timer_t: 0xf7da9db0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7da9e10 0 "interval" uv_timer_t: 0xf7da9e10 8 "interval" uv_timer_t: 0xf7da9e10 4 "interval" uv_timer_t: 0xf7da9e10 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d82fe0 0 "interval" uv_timer_t: 0xf7d82fe0 8 "interval" uv_timer_t: 0xf7d82fe0 4 "interval" uv_timer_t: 0xf7d82fe0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7de0290 } { req = 0, client = uv_udp_t: 0xf7de0410 } "client on send" uv_udp_t: 0xf7de0410 nil "server on recv" uv_udp_t: 0xf7de0290 "PING" { family = "inet", port = 49177, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7de0290 "client on close" uv_udp_t: 0xf7de0410 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7de6410 } { req = 0, client = uv_udp_t: 0xf7de6510 } "client on send" uv_udp_t: 0xf7de6510 nil "server on recv" uv_udp_t: 0xf7de6410 "PING" { family = "inet", port = 59605, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7de6410 "client on close" uv_udp_t: 0xf7de6510 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7de6a90 } { req = 0, client = uv_udp_t: 0xf7de6b90 } "client on send" uv_udp_t: 0xf7de6b90 nil "server on recv" uv_udp_t: 0xf7de6a90 "PING" { family = "inet6", port = 32902, ip = "::1" } { } "server on close" uv_udp_t: 0xf7de6a90 "client on close" uv_udp_t: 0xf7de6b90 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: 0xf7dde890 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7dde890 "PING" { family = "inet", port = 39490, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dde890 "PING" { family = "inet", port = 36233, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dde890 "PING" { family = "inet", port = 36233, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dde890 nil nil { } "server on recv" uv_udp_t: 0xf7dde890 "PING" { family = "inet", port = 55875, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7da1080 "server on close" uv_udp_t: 0xf7dde890 ok 130 udp - udp connect "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, ip = "127.0.0.1" } "PING" { family = "inet", port = 58526, 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: 0xf7d74d90" "hello" uv_thread_t: 0xf7d74d90 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: 0xf7cf7260 "closed" uv_timer_t: 0xf7cf7260 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7cf72c0 "closed" { } uv_timer_t: 0xf7cf72c0 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 { { addr = "::1", socktype = "stream", family = "inet6", protocol = "tcp", port = 80 }, { addr = "127.0.0.1", socktype = "stream", family = "inet", protocol = "tcp", port = 80 } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", socktype = "stream", family = "inet6", protocol = "tcp", port = 80 }, { addr = "127.0.0.1", socktype = "stream", family = "inet", protocol = "tcp", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp", family = "inet" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", canonname = "luvit.io", protocol = "tcp", family = "inet6" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", socktype = "stream", canonname = "luvit.io", protocol = "tcp", family = "inet" }, { addr = "206.189.225.172", socktype = "dgram", canonname = "luvit.io", protocol = "udp", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", canonname = "luvit.io", protocol = "tcp", family = "inet6" }, { addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", canonname = "luvit.io", protocol = "udp", family = "inet6" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "localhost" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "localhost" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 41 } { stat = { atime = table: 0xf7cfba70, dev = 64769, mode = 33188, nlink = 1, ino = 30295739, gen = 0, flags = 0, rdev = 0, size = 6060, type = "file", mtime = table: 0xf7cfa000, uid = 1000, birthtime = table: 0xf7cfa060, ctime = table: 0xf7cfa030, gid = 1000, blksize = 4096, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 41 } { stat = { atime = table: 0xf7d17bf0, dev = 64769, mode = 33188, nlink = 1, ino = 30295739, gen = 0, flags = 0, rdev = 0, size = 6060, type = "file", mtime = table: 0xf7d23820, uid = 1000, birthtime = table: 0xf7d23a30, ctime = table: 0xf7d239d0, gid = 1000, 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 { 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 { 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 { 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 { 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: 0xf7cf8130 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, bfree = 51241273, files = 54673408, type = 61267, bavail = 40302752, ffree = 49930470, blocks = 214974462 } ok 41 fs - fs.statfs sync { bsize = 4096, bfree = 51241273, files = 54673408, type = 61267, bavail = 40302752, ffree = 49930470, 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 { free = 60792700928.0, available = 60792700928.0, total = 67493289984.0, rss = 1880064, constrained = 0.0 } ok 59 misc - memory size { uptime = 15745654.95 } ok 60 misc - uv.uptime { minflt = 658, msgsnd = 0, msgrcv = 0, stime = { sec = 0, usec = 66027 }, nvcsw = 68, oublock = 80, nsignals = 0, nivcsw = 4, inblock = 0, idrss = 0, isrss = 0, maxrss = 2092, majflt = 0, utime = { sec = 0, usec = 686496 }, ixrss = 0, nswap = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { times = table: 0xf7cf8050, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7cf8140, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1717.0 }, { times = table: 0xf7cf8320, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfa030, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfa180, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfa1e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfa270, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfa2d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7d09000, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1774.0 }, { times = table: 0xf7cf9460, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7cf96d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7d239d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7d173e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7d15670, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfb7a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfb860, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfb9b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1816.0 }, { times = table: 0xf7cfba70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1415.0 }, { times = table: 0xf7d2eef0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cf8b60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1511.0 }, { times = table: 0xf7d2bac0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7d2e110, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7d07860, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1276.0 }, { times = table: 0xf7d07b90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1751.0 }, { times = table: 0xf7d07560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7d398e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7d3b500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 }, { times = table: 0xf7cfcee0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfcf40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1360.0 }, { times = table: 0xf7cfcfa0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfd030, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199.0 }, { times = table: 0xf7cfd090, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0 } } ok 63 misc - uv.cpu_info "lo" { { internal = true, family = "inet", netmask = "255.0.0.0", ip = "127.0.0.1", mac = "\0\0\0\0\0\0" }, { internal = true, family = "inet6", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1", mac = "\0\0\0\0\0\0" } } "eth0" { { internal = false, family = "inet", netmask = "255.255.255.0", ip = "172.16.21.19", mac = "\0>bR¬" }, { internal = false, family = "inet6", netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe62:52ac", mac = "\0>bR¬" } } ok 64 misc - uv.interface_addresses { 1.17, 1.29, 1.05 } 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 { gid = 1000, uid = 1000, shell = "/bin/ash", username = "buildozer", 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 1.5745655496483e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", machine = "i686", sysname = "Linux", release = "5.15.108-0-lts" } ok 73 misc - uv.os_uname os.time 1698350383 uv.gettimeofday 1698350383.000712 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 = 15745656, nsec = 508895625 } nil "realtime" { sec = 15745656, nsec = 508970822 } 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: 0xf7d44b50 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7cf69d0 "timeout" uv_timer_t: 0xf7cf5970 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7cf6c50 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: 0xf7cf6760, pid = 61995 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7cf6080, pid = 61996 } "exit" uv_process_t: 0xf7cf6080 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d0b520, pid = 61997 } "exit" uv_process_t: 0xf7d0b520 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7cf63f0, pid = 61999 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 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 = 62002, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7cf8c80, address = { family = "inet", ip = "127.0.0.1", port = 40785 } } { req = uv_connect_t: 0xf7cf4f50, client = uv_tcp_t: 0xf7cffa30 } "server on connection" uv_tcp_t: 0xf7cf8c80 "client on connect" uv_tcp_t: 0xf7cffa30 nil "client on shutdown" uv_tcp_t: 0xf7cffa30 nil "client on close" uv_tcp_t: 0xf7cffa30 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7d09540, address = { family = "inet6", ip = "::1", port = 36585 } } { req = uv_connect_t: 0xf7d003a0, client = uv_tcp_t: 0xf7cfcaf0 } "server on connection" uv_tcp_t: 0xf7d09540 "client on connect" uv_tcp_t: 0xf7cfcaf0 nil "client on shutdown" uv_tcp_t: 0xf7cfcaf0 nil "client on close" uv_tcp_t: 0xf7cfcaf0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7cf8e30, address = { family = "inet", ip = "127.0.0.1", port = 39929 } } { req = uv_write_t: 0xf7cfd800, socket = uv_tcp_t: 0xf7cfd6c0 } "client onwrite" uv_tcp_t: 0xf7cfd6c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7cf8c80, address = { family = "inet", ip = "127.0.0.1", port = 44139 } } { req = uv_write_t: 0xf7cfdfe0, socket = uv_tcp_t: 0xf7cfdea0 } "client onwrite" uv_tcp_t: 0xf7cfdea0 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: 0xf7cf8c80, address = { family = "inet", ip = "127.0.0.1", port = 35231 } } { req = uv_write_t: 0xf7cfe7c0, socket = uv_tcp_t: 0xf7cfe680 } "client onwrite" uv_tcp_t: 0xf7cfe680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7d09540, address = { family = "inet", ip = "127.0.0.1", port = 34689 } } { req = uv_write_t: 0xf7cfefa0, socket = uv_tcp_t: 0xf7cfee60 } "client onwrite" uv_tcp_t: 0xf7cfee60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7cf8e30, address = { family = "inet", ip = "127.0.0.1", port = 38721 } } { req = uv_write_t: 0xf7cff780, socket = uv_tcp_t: 0xf7cff640 } "client onwrite" uv_tcp_t: 0xf7cff640 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7cf8c80, address = { family = "inet", ip = "127.0.0.1", port = 46637 } } { req = uv_write_t: 0xf7cfc450, socket = uv_tcp_t: 0xf7cfc310 } "client onwrite" uv_tcp_t: 0xf7cfc310 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: 0xf5ce7d90 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f2cc64 Runing uv_thread_t: 0xf7f2cc64 { 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: 0xf7cf4f30 "closed" uv_timer_t: 0xf7cf4f30 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7cf4f90 "interval" uv_timer_t: 0xf7cf4f90 "interval" uv_timer_t: 0xf7cf4f90 "closed" uv_timer_t: 0xf7cf4f90 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d019d0 "timeout" uv_timer_t: 0xf7d0bd50 "interval" uv_timer_t: 0xf7d019d0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d01a90 0 "interval" uv_timer_t: 0xf7d01a90 8 "interval" uv_timer_t: 0xf7d01a90 4 "interval" uv_timer_t: 0xf7d01a90 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d00380 0 "interval" uv_timer_t: 0xf7d00380 8 "interval" uv_timer_t: 0xf7d00380 4 "interval" uv_timer_t: 0xf7d00380 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7e4cf40 } { req = 0, client = uv_udp_t: 0xf7d0a550 } "client on send" uv_udp_t: 0xf7d0a550 nil "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet", ip = "127.0.0.1", port = 54338 } { } "server on close" uv_udp_t: 0xf7e4cf40 "client on close" uv_udp_t: 0xf7d0a550 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d0a550 } { req = 0, client = uv_udp_t: 0xf7e4cf40 } "client on send" uv_udp_t: 0xf7e4cf40 nil "server on recv" uv_udp_t: 0xf7d0a550 "PING" { family = "inet", ip = "127.0.0.1", port = 50505 } { } "server on close" uv_udp_t: 0xf7d0a550 "client on close" uv_udp_t: 0xf7e4cf40 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7e4cf40 } { req = 0, client = uv_udp_t: 0xf7d0a550 } "client on send" uv_udp_t: 0xf7d0a550 nil "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet6", ip = "::1", port = 51459 } { } "server on close" uv_udp_t: 0xf7e4cf40 "client on close" uv_udp_t: 0xf7d0a550 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: 0xf7e4cf40 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet", ip = "127.0.0.1", port = 50195 } { } "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet", ip = "127.0.0.1", port = 33508 } { } "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet", ip = "127.0.0.1", port = 33508 } { } "server on recv" uv_udp_t: 0xf7e4cf40 nil nil { } "server on recv" uv_udp_t: 0xf7e4cf40 "PING" { family = "inet", ip = "127.0.0.1", port = 40929 } { } "client on close" uv_udp_t: 0xf7d0a550 "server on close" uv_udp_t: 0xf7e4cf40 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } "PING" { family = "inet", ip = "127.0.0.1", port = 58515 } 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: 0xf74f0d90" "hello" uv_thread_t: 0xf74f0d90 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: 0xf7f73150 "closed" uv_timer_t: 0xf7f73150 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7f73150 "closed" { } uv_timer_t: 0xf7f73150 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, addr = "::1", protocol = "tcp", family = "inet6", socktype = "stream" }, { port = 80, addr = "127.0.0.1", protocol = "tcp", family = "inet", socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", protocol = "tcp", addr = "::1", port = 80, socktype = "stream" }, { family = "inet", protocol = "tcp", addr = "127.0.0.1", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", addr = "206.189.225.172", family = "inet", socktype = "stream" }, { protocol = "tcp", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", socktype = "stream" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { canonname = "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" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "localhost", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "localhost", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 41 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 30295739, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7dfc710, mtime = table: 0xf7e8b588, ctime = table: 0xf7e9bed8, birthtime = table: 0xf7ea1060, size = 6060, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 41 } { stat = { type = "file", ctime = table: 0xf7e08700, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 30295739, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7dfc710, mtime = table: 0xf7e8b588, size = 6060, birthtime = table: 0xf7e13900 } } { 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 { 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 { 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: 0xf7e8b5a0 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 { bfree = 51241261, files = 54673408, bavail = 40302740, ffree = 49930470, blocks = 214974462, bsize = 4096, type = 61267 } ok 41 fs - fs.statfs sync { bfree = 51241261, files = 54673408, bavail = 40302740, ffree = 49930470, blocks = 214974462, bsize = 4096, type = 61267 } 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" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { available = 60798574592, free = 60798574592, rss = 2625536, total = 67493289984, constrained = 0 } ok 59 misc - memory size { uptime = 15745664.13 } ok 60 misc - uv.uptime { inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 66, nivcsw = 0, utime = { sec = 0, usec = 707088 }, stime = { sec = 0, usec = 65828 }, maxrss = 2564, ixrss = 0, idrss = 0, isrss = 0, minflt = 557, majflt = 0, nswap = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { times = table: 0xf7e075a8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e9adf8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7dface0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7de1660, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e023a8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7df9a80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e0df68, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e9d720, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e0e0c8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e12b08, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1893 }, { times = table: 0xf7e0dad0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e070a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e9cb58, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7ea04e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7de5438, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e08700, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e01c38, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7de69e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7dfc710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7dda4d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e8b588, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7de8488, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7dda128, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200 }, { times = table: 0xf7de7ad0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e93a38, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e11560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7ddbd40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e9c8b8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200 }, { times = table: 0xf7e16c80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7ddb1a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7de8680, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 }, { times = table: 0xf7e00d20, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199 } } ok 63 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", family = "inet", internal = false, ip = "172.16.21.19", mac = "\0>bR¬" }, { netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false, ip = "fe80::216:3eff:fe62:52ac", mac = "\0>bR¬" } } "lo" { { netmask = "255.0.0.0", family = "inet", internal = true, ip = "127.0.0.1", mac = "\0\0\0\0\0\0" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true, ip = "::1", mac = "\0\0\0\0\0\0" } } ok 64 misc - uv.interface_addresses { 1.07, 1.26, 1.04 } 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 { uid = 1000, gid = 1000, shell = "/bin/ash", username = "buildozer", 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 1.574566468681e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { machine = "i686", sysname = "Linux", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", release = "5.15.108-0-lts" } ok 73 misc - uv.os_uname os.time 1698350392 uv.gettimeofday 1698350392.000904 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 = 15745665, nsec = 706817992 } nil "realtime" { sec = 15745665, nsec = 707075956 } 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: 0x566c2fc0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7f73fb0 "timeout" uv_timer_t: 0x566c21c0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7ec9fb0 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 62031, handle = uv_process_t: 0x566c2280 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { pid = 62032, handle = uv_process_t: 0x566c22e0 } "exit" uv_process_t: 0x566c22e0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { pid = 62033, handle = uv_process_t: 0x566c21d0 } "exit" uv_process_t: 0x566c21d0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 62035, handle = uv_process_t: 0x566c2290 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 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 = 62038, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x566c2600, address = { port = 45035, ip = "127.0.0.1", family = "inet" } } { req = uv_connect_t: 0xf7dedb18, client = uv_tcp_t: 0x566c26a0 } "server on connection" uv_tcp_t: 0x566c2600 "client on connect" uv_tcp_t: 0x566c26a0 nil "client on shutdown" uv_tcp_t: 0x566c26a0 nil "client on close" uv_tcp_t: 0x566c26a0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x566c25f0, address = { port = 36547, ip = "::1", family = "inet6" } } { req = uv_connect_t: 0xf7dedb18, client = uv_tcp_t: 0x566c2690 } "server on connection" uv_tcp_t: 0x566c25f0 "client on connect" uv_tcp_t: 0x566c2690 nil "client on shutdown" uv_tcp_t: 0x566c2690 nil "client on close" uv_tcp_t: 0x566c2690 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x566c2600, address = { port = 45641, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c26a0, req = uv_write_t: 0xf7e01a50 } "client onwrite" uv_tcp_t: 0x566c26a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x566c2690, address = { port = 43349, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c25f0, req = uv_write_t: 0xf7e9e5e8 } "client onwrite" uv_tcp_t: 0x566c25f0 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: 0x566c25f0, address = { port = 34671, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c26a0, req = uv_write_t: 0xf7e01a50 } "client onwrite" uv_tcp_t: 0x566c26a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x566c2690, address = { port = 36495, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c2600, req = uv_write_t: 0xf7e01a50 } "client onwrite" uv_tcp_t: 0x566c2600 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x566c25f0, address = { port = 33283, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c26a0, req = uv_write_t: 0xf7e01a50 } "client onwrite" uv_tcp_t: 0x566c26a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x566c2600, address = { port = 35599, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x566c2690, req = uv_write_t: 0xf7e01a50 } "client onwrite" uv_tcp_t: 0x566c2690 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: 0xf5d56d90 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f739a0 Runing uv_thread_t: 0xf7f739a0 { 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: 0x566c22e0 "closed" uv_timer_t: 0x566c22e0 ok 119 timer - simple timeout "interval" uv_timer_t: 0x566c21c0 "interval" uv_timer_t: 0x566c21c0 "interval" uv_timer_t: 0x566c21c0 "closed" uv_timer_t: 0x566c21c0 ok 120 timer - simple interval "interval" uv_timer_t: 0x566c2280 "timeout" uv_timer_t: 0x566c2220 "interval" uv_timer_t: 0x566c2280 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x566c22e0 0 "interval" uv_timer_t: 0x566c22e0 8 "interval" uv_timer_t: 0x566c22e0 4 "interval" uv_timer_t: 0x566c22e0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x566c21c0 0 "interval" uv_timer_t: 0x566c21c0 8 "interval" uv_timer_t: 0x566c21c0 4 "interval" uv_timer_t: 0x566c21c0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7ec9f20 } { req = 0, client = uv_udp_t: 0x566c2f30 } "client on send" uv_udp_t: 0x566c2f30 nil "server on recv" uv_udp_t: 0xf7ec9f20 "PING" { port = 36715, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0xf7ec9f20 "client on close" uv_udp_t: 0x566c2f30 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7ec9f20 } { req = 0, client = uv_udp_t: 0x566c2f30 } "client on send" uv_udp_t: 0x566c2f30 nil "server on recv" uv_udp_t: 0xf7ec9f20 "PING" { port = 44727, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0xf7ec9f20 "client on close" uv_udp_t: 0x566c2f30 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7ec9f20 } { req = 0, client = uv_udp_t: 0x566c2f30 } "client on send" uv_udp_t: 0x566c2f30 nil "server on recv" uv_udp_t: 0xf7ec9f20 "PING" { port = 49678, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0xf7ec9f20 "client on close" uv_udp_t: 0x566c2f30 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: 0x566c2f30 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0x566c2f30 "PING" { port = 35107, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x566c2f30 "PING" { port = 49376, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x566c2f30 "PING" { port = 49376, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x566c2f30 nil nil { } "server on recv" uv_udp_t: 0x566c2f30 "PING" { port = 48806, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0xf7ec9f20 "server on close" uv_udp_t: 0x566c2f30 ok 130 udp - udp connect "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } "PING" { port = 55398, ip = "127.0.0.1", family = "inet" } 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: 0xf6dc6d90" "hello" uv_thread_t: 0xf6dc6d90 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 0xf7e6bac3 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, 26 Oct 2023 19:59:59 +0000 elapsed time 0h 0m 57s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20231026.195909) (2/19) Purging cmake (3.27.7-r2) (3/19) Purging libuv-dev (1.46.0-r0) (4/19) Purging libuv (1.46.0-r0) (5/19) Purging lua-compat53-dev (0.10-r1) (6/19) Purging luajit-dev (2.1_p20230410-r3) (7/19) Purging luajit (2.1_p20230410-r3) (8/19) Purging lua5.1-dev (5.1.5-r13) (9/19) Purging lua5.1 (5.1.5-r13) (10/19) Purging lua5.1-libs (5.1.5-r13) (11/19) Purging lua5.4-dev (5.4.6-r1) (12/19) Purging lua5.4 (5.4.6-r1) (13/19) Purging lua5.4-libs (5.4.6-r1) (14/19) Purging libarchive (3.7.2-r0) (15/19) Purging libbz2 (1.0.8-r6) (16/19) Purging readline (8.2.1-r2) (17/19) Purging rhash-libs (1.4.4-r0) (18/19) Purging samurai (1.2-r5) (19/19) Purging xz-libs (5.4.4-r0) Executing busybox-1.36.1-r13.trigger OK: 376 MiB in 102 packages >>> lua-luv: Updating the community/x86 repository index... >>> lua-luv: Signing the index...