>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.12.0-r0) started Wed, 01 Nov 2023 08:18:34 +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 (20231101.081841) Executing busybox-1.36.1-r13.trigger OK: 539 MiB in 126 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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 127k 100 127k 0 0 132k 0 --:--:-- --:--:-- --:--:-- 132k >>> 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.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.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] Linking C shared module luv.so [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.4") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-jit [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so 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-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: 0x7fd204e334e0 "closed" uv_timer_t: 0x7fd204e334e0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7fd204e33580 "closed" { } uv_timer_t: 0x7fd204e33580 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 = 51 } { stat = { nlink = 1, ino = 16781997, mtime = table: 0x7fd204e54490, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7fd204e54440, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7fd204e54670, birthtime = table: 0x7fd204e546c0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 51 } { stat = { nlink = 1, ino = 16781997, mtime = table: 0x7fd204e0f2b0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7fd204e0efe0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7fd204e0f300, birthtime = table: 0x7fd204e0f350, 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 = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } uv_dir_t: 0x7fd204e2fc98 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 23291150, type = 61267, bsize = 4096, files = 54673408, bfree = 34229671, ffree = 45797294, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 23291150, type = 61267, bsize = 4096, files = 54673408, bfree = 34229671, ffree = 45797294, 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 = 3940352, total = 67493289984, free = 64231673856, constrained = 0, available = 64231673856 } ok 59 misc - memory size { uptime = 8984136.43 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 677151, sec = 0 }, oublock = 72, stime = { usec = 63282, sec = 0 }, nivcsw = 2, minflt = 908, idrss = 0, majflt = 0, nvcsw = 69, isrss = 0, nswap = 0, maxrss = 4336, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2387, times = table: 0x7fd204e45570, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999, times = table: 0x7fd204e457a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999, times = table: 0x7fd204e327a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1834, times = table: 0x7fd204e32930, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2955, times = table: 0x7fd204e32a70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2107, times = table: 0x7fd204e32b10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2633, times = table: 0x7fd204e32c50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2335, times = table: 0x7fd204e32d40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2705, times = table: 0x7fd204e32de0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2825, times = table: 0x7fd204e32e80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2829, times = table: 0x7fd204e680d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2862, times = table: 0x7fd204e681c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0x7fd204e68260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0x7fd204e68300, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2705, times = table: 0x7fd204e68490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0x7fd204e68580, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2896, times = table: 0x7fd204e68710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0x7fd204e472b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2960, times = table: 0x7fd204e47350, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2900, times = table: 0x7fd204e473f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0x7fd204e47490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2706, times = table: 0x7fd204e47530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2560, times = table: 0x7fd204e475d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2900, times = table: 0x7fd204e47760, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2960, times = table: 0x7fd204e32000, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2958, times = table: 0x7fd204e320f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2997, times = table: 0x7fd204e32280, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999, times = table: 0x7fd204e323c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999, times = table: 0x7fd204e32500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3000, times = table: 0x7fd204e325f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2708, times = table: 0x7fd204e5a7f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3002, times = table: 0x7fd204e5a8e0, 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>$˜­", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.22.19" }, { mac = "\0>$˜­", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe24:98ad" } } ok 64 misc - uv.interface_addresses { 2.95, 7.44, 5.76 } 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/sh" } 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 8.9841369668e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "5.15.108-0-lts", machine = "x86_64", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1698826744 uv.gettimeofday 1698826744.000845 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 = 981117562, sec = 8984137 } nil "realtime" { nsec = 981152975, sec = 8984137 } 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: 0x7fd204e0aa90 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7fd204e0ab10 "timeout" uv_timer_t: 0x7fd204e33300 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7fd204e0ab90 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: 0x7fd204e1f370, pid = 39762 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7fd204e1f400, pid = 39763 } "exit" uv_process_t: 0x7fd204e1f400 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7fd204e1f520, pid = 39764 } "exit" uv_process_t: 0x7fd204e1f520 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7fd204e1f640, pid = 39766 } "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 = 39769, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 34451, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e0bec0 } { req = uv_connect_t: 0x7fd204e1fae8, client = uv_tcp_t: 0x7fd204e214a0 } "server on connection" uv_tcp_t: 0x7fd204e0bec0 "client on connect" uv_tcp_t: 0x7fd204e214a0 nil "client on shutdown" uv_tcp_t: 0x7fd204e214a0 nil "client on close" uv_tcp_t: 0x7fd204e214a0 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 41729, ip = "::1" }, server = uv_tcp_t: 0x7fd204e21b60 } { req = uv_connect_t: 0x7fd204e1fb78, client = uv_tcp_t: 0x7fd204e21ec0 } "server on connection" uv_tcp_t: 0x7fd204e21b60 "client on connect" uv_tcp_t: 0x7fd204e21ec0 nil "client on shutdown" uv_tcp_t: 0x7fd204e21ec0 nil "client on close" uv_tcp_t: 0x7fd204e21ec0 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 33317, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e2d490 } { req = uv_write_t: 0x7fd204ea9cd8, socket = uv_tcp_t: 0x7fd204e80800 } "client onwrite" uv_tcp_t: 0x7fd204e80800 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 37047, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e55570 } { req = uv_write_t: 0x7fd204ea9cd8, socket = uv_tcp_t: 0x7fd204e0b140 } "client onwrite" uv_tcp_t: 0x7fd204e0b140 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 = 40953, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e0b4b0 } { req = uv_write_t: 0x7fd204f16b28, socket = uv_tcp_t: 0x7fd204e0b5d0 } "client onwrite" uv_tcp_t: 0x7fd204e0b5d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 41981, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e0b810 } { req = uv_write_t: 0x7fd204e82ae8, socket = uv_tcp_t: 0x7fd204e0b930 } "client onwrite" uv_tcp_t: 0x7fd204e0b930 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 37339, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e0bc90 } { req = uv_write_t: 0x7fd204f16b28, socket = uv_tcp_t: 0x7fd204e0bdb0 } "client onwrite" uv_tcp_t: 0x7fd204e0bdb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 35125, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fd204e214b0 } { req = uv_write_t: 0x7fd204f16b28, socket = uv_tcp_t: 0x7fd204e21b70 } "client onwrite" uv_tcp_t: 0x7fd204e21b70 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: 0x7fd202dfdb38 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7fd204febb08 Runing uv_thread_t: 0x7fd204febb08 { delay = 100, elapsed = 101 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } 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: 0x7fd204e33620 "closed" uv_timer_t: 0x7fd204e33620 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7fd204e37530 "interval" uv_timer_t: 0x7fd204e37530 "interval" uv_timer_t: 0x7fd204e37530 "closed" uv_timer_t: 0x7fd204e37530 ok 120 timer - simple interval "interval" uv_timer_t: 0x7fd204e33300 "timeout" uv_timer_t: 0x7fd204e375d0 "interval" uv_timer_t: 0x7fd204e33300 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7fd204e333a0 0 "interval" uv_timer_t: 0x7fd204e333a0 8 "interval" uv_timer_t: 0x7fd204e333a0 4 "interval" uv_timer_t: 0x7fd204e333a0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7fd204e334e0 0 "interval" uv_timer_t: 0x7fd204e334e0 8 "interval" uv_timer_t: 0x7fd204e334e0 4 "interval" uv_timer_t: 0x7fd204e334e0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7fd204ea9cc0 } { req = 0, client = uv_udp_t: 0x7fd204f16b10 } "client on send" uv_udp_t: 0x7fd204f16b10 nil "server on recv" uv_udp_t: 0x7fd204ea9cc0 "PING" { family = "inet", port = 57243, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7fd204ea9cc0 "client on close" uv_udp_t: 0x7fd204f16b10 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7fd204ea9cb0 } { req = 0, client = uv_udp_t: 0x7fd204e82ad0 } "client on send" uv_udp_t: 0x7fd204e82ad0 nil "server on recv" uv_udp_t: 0x7fd204ea9cb0 "PING" { family = "inet", port = 42073, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7fd204ea9cb0 "client on close" uv_udp_t: 0x7fd204e82ad0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7fd204ea9cc0 } { req = 0, client = uv_udp_t: 0x7fd204f16b10 } "client on send" uv_udp_t: 0x7fd204f16b10 nil "server on recv" uv_udp_t: 0x7fd204ea9cc0 "PING" { family = "inet6", port = 34399, ip = "::1" } { } "server on close" uv_udp_t: 0x7fd204ea9cc0 "client on close" uv_udp_t: 0x7fd204f16b10 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: 0x7fd204ea9dc0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7fd204ea9dc0 "PING" { family = "inet", port = 34550, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fd204ea9dc0 "PING" { family = "inet", port = 35864, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fd204ea9dc0 "PING" { family = "inet", port = 35864, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fd204ea9dc0 nil nil { } "server on recv" uv_udp_t: 0x7fd204ea9dc0 "PING" { family = "inet", port = 50387, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7fd204ea9cc0 "server on close" uv_udp_t: 0x7fd204ea9dc0 ok 130 udp - udp connect "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, ip = "127.0.0.1" } "PING" { family = "inet", port = 47425, 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: 0x7fd204606b38" "hello" uv_thread_t: 0x7fd204606b38 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: 0x7f318f822f80 "closed" uv_timer_t: 0x7f318f822f80 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f318f823020 "closed" { } uv_timer_t: 0x7f318f823020 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", port = 80, family = "inet6", protocol = "tcp" }, { addr = "127.0.0.1", socktype = "stream", port = 80, family = "inet", protocol = "tcp" } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", socktype = "stream", port = 80, family = "inet6", protocol = "tcp" }, { addr = "127.0.0.1", socktype = "stream", port = 80, family = "inet", protocol = "tcp" } } 2 ok 9 dns - Get all local http addresses sync { { canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream", family = "inet", protocol = "tcp" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream", family = "inet", protocol = "tcp" }, { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", family = "inet6", protocol = "tcp" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream", family = "inet", protocol = "tcp" }, { canonname = "luvit.io", addr = "206.189.225.172", socktype = "dgram", family = "inet", protocol = "udp" }, { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream", family = "inet6", protocol = "tcp" }, { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram", family = "inet6", protocol = "udp" } } 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 = 51 } { stat = { mode = 33188, size = 6060, ctime = table: 0x7f318f82a520, blocks = 16, ino = 16781997, type = "file", mtime = table: 0x7f318f82a420, gid = 1000, gen = 0, blksize = 4096, birthtime = table: 0x7f318f82a5a0, nlink = 1, dev = 64769, flags = 0, atime = table: 0x7f318f829fe0, uid = 1000, rdev = 0 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 51 } { stat = { mode = 33188, size = 6060, ctime = table: 0x7f318f83bfc0, blocks = 16, ino = 16781997, type = "file", mtime = table: 0x7f318f858710, gid = 1000, gen = 0, blksize = 4096, birthtime = table: 0x7f318f83c0c0, nlink = 1, dev = 64769, flags = 0, atime = table: 0x7f318f83a700, uid = 1000, rdev = 0 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { 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 = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } uv_dir_t: 0x7f318f819568 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { files = 54673408, bsize = 4096, bfree = 34229294, blocks = 214974462, bavail = 23290773, type = 61267, ffree = 45797261 } ok 41 fs - fs.statfs sync { files = 54673408, bsize = 4096, bfree = 34229294, blocks = 214974462, bavail = 23290773, type = 61267, ffree = 45797261 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { total = 67493289984.0, rss = 4120576, available = 64218710016.0, constrained = 0.0, free = 64218710016.0 } ok 59 misc - memory size { uptime = 8984145.55 } ok 60 misc - uv.uptime { oublock = 72, inblock = 0, idrss = 0, nvcsw = 69, maxrss = 4320, stime = { sec = 0, usec = 75815 }, nivcsw = 2, utime = { sec = 0, usec = 666545 }, nsignals = 0, msgsnd = 0, msgrcv = 0, majflt = 0, nswap = 0, isrss = 0, minflt = 858, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2199.0, times = table: 0x7f318f83a100, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f83a300, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f83a500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f83a6c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f817850, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f817c50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f817d90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f832200, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999.0, times = table: 0x7f318f8323c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3000.0, times = table: 0x7f318f8325c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2998.0, times = table: 0x7f318f832740, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2586.0, times = table: 0x7f318f834970, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2998.0, times = table: 0x7f318f834ef0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3002.0, times = table: 0x7f318f83c0c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3000.0, times = table: 0x7f318f83c380, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2708.0, times = table: 0x7f318f82a4a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f83a180, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200.0, times = table: 0x7f318f83a580, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f817890, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f817dd0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200.0, times = table: 0x7f318f832400, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f832780, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f834f30, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0x7f318f83c440, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3000.0, times = table: 0x7f318f83a280, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2709.0, times = table: 0x7f318f817b90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 3001.0, times = table: 0x7f318f8324c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2997.0, times = table: 0x7f318f83c040, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2998.0, times = table: 0x7f318f83a480, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999.0, times = table: 0x7f318f8326c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2999.0, times = table: 0x7f318f817810, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2998.0, times = table: 0x7f318f832340, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", mac = "\0>$˜­", family = "inet", internal = false, ip = "172.16.22.19" }, { netmask = "ffff:ffff:ffff:ffff::", mac = "\0>$˜­", family = "inet6", internal = false, ip = "fe80::216:3eff:fe24:98ad" } } "lo" { { netmask = "255.0.0.0", mac = "\0\0\0\0\0\0", family = "inet", internal = true, ip = "127.0.0.1" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", mac = "\0\0\0\0\0\0", family = "inet6", internal = true, ip = "::1" } } ok 64 misc - uv.interface_addresses { 2.89, 7.28, 5.73 } 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, homedir = "/home/buildozer", uid = 1000, username = "buildozer", shell = "/bin/sh" } 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 8.9841460469316e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", release = "5.15.108-0-lts", machine = "x86_64", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1698826753 uv.gettimeofday 1698826753.000922 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 = 8984147, nsec = 52543664 } nil "realtime" { sec = 8984147, nsec = 52569508 } 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: 0x7f318f824a70 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f318f824e60 "timeout" uv_timer_t: 0x7f318f822f80 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f318f825250 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 39796, handle = uv_process_t: 0x7f318f8136d0 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { pid = 39797, handle = uv_process_t: 0x7f318f8137f0 } "exit" uv_process_t: 0x7f318f8137f0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { pid = 39798, handle = uv_process_t: 0x7f318f813880 } "exit" uv_process_t: 0x7f318f813880 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 39800, handle = uv_process_t: 0x7f318f8139a0 } "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" { code = 0, signal = 0, pid = 39803 } ok 100 signal - Catch SIGINT { address = { port = 44463, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f81a450 } { req = uv_connect_t: 0x7f318f8230f8, client = uv_tcp_t: 0x7f318f81a690 } "server on connection" uv_tcp_t: 0x7f318f81a450 "client on connect" uv_tcp_t: 0x7f318f81a690 nil "client on shutdown" uv_tcp_t: 0x7f318f81a690 nil "client on close" uv_tcp_t: 0x7f318f81a690 ok 101 tcp - basic tcp server and client (ipv4) { address = { port = 40995, family = "inet6", ip = "::1" }, server = uv_tcp_t: 0x7f318f81a0e0 } { req = uv_connect_t: 0x7f318f823198, client = uv_tcp_t: 0x7f318f81a460 } "server on connection" uv_tcp_t: 0x7f318f81a0e0 "client on connect" uv_tcp_t: 0x7f318f81a460 nil "client on shutdown" uv_tcp_t: 0x7f318f81a460 nil "client on close" uv_tcp_t: 0x7f318f81a460 ok 102 tcp - basic tcp server and client (ipv6) { address = { port = 42455, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f84a4a0 } { req = uv_write_t: 0x7f318f81a478, socket = uv_tcp_t: 0x7f318f81a0f0 } "client onwrite" uv_tcp_t: 0x7f318f81a0f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { port = 44659, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f81a100 } { req = uv_write_t: 0x7f318f81a6c8, socket = uv_tcp_t: 0x7f318f81a450 } "client onwrite" uv_tcp_t: 0x7f318f81a450 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 = { port = 32843, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f818c90 } { req = uv_write_t: 0x7f318f81a118, socket = uv_tcp_t: 0x7f318f818ec0 } "client onwrite" uv_tcp_t: 0x7f318f818ec0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { port = 37423, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f819fd0 } { req = uv_write_t: 0x7f318f81a5b8, socket = uv_tcp_t: 0x7f318f81a210 } "client onwrite" uv_tcp_t: 0x7f318f81a210 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { port = 44139, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f81a100 } { req = uv_write_t: 0x7f318f81a6d8, socket = uv_tcp_t: 0x7f318f81a450 } "client onwrite" uv_tcp_t: 0x7f318f81a450 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { port = 46037, family = "inet", ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f318f8338f0 } { req = uv_write_t: 0x7f318f84a4d8, socket = uv_tcp_t: 0x7f318f818db0 } "client onwrite" uv_tcp_t: 0x7f318f818db0 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: 0x7f318d7f8b38 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f318fa57b08 Runing uv_thread_t: 0x7f318fa57b08 { delay = 100, elapsed = 101 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } 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: 0x7f318f823160 "closed" uv_timer_t: 0x7f318f823160 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f318f823200 "interval" uv_timer_t: 0x7f318f823200 "interval" uv_timer_t: 0x7f318f823200 "closed" uv_timer_t: 0x7f318f823200 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f318f823020 "timeout" uv_timer_t: 0x7f318f822f80 "interval" uv_timer_t: 0x7f318f823020 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f318f8230c0 0 "interval" uv_timer_t: 0x7f318f8230c0 8 "interval" uv_timer_t: 0x7f318f8230c0 4 "interval" uv_timer_t: 0x7f318f8230c0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f318f823160 0 "interval" uv_timer_t: 0x7f318f823160 8 "interval" uv_timer_t: 0x7f318f823160 4 "interval" uv_timer_t: 0x7f318f823160 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7f318f85fea0 } { req = 0, client = uv_udp_t: 0x7f318f8232e0 } "client on send" uv_udp_t: 0x7f318f8232e0 nil "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 41568, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f318f85fea0 "client on close" uv_udp_t: 0x7f318f8232e0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f318f85feb0 } { req = 0, client = uv_udp_t: 0x7f318f8236d0 } "client on send" uv_udp_t: 0x7f318f8236d0 nil "server on recv" uv_udp_t: 0x7f318f85feb0 "PING" { port = 49930, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f318f85feb0 "client on close" uv_udp_t: 0x7f318f8236d0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7f318f85fea0 } { req = 0, client = uv_udp_t: 0x7f318f823ac0 } "client on send" uv_udp_t: 0x7f318f823ac0 nil "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 50941, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0x7f318f85fea0 "client on close" uv_udp_t: 0x7f318f823ac0 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: 0x7f318f85fea0 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 32991, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 49180, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 49180, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f318f85fea0 nil nil { } "server on recv" uv_udp_t: 0x7f318f85fea0 "PING" { port = 34716, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7f318f8242a0 "server on close" uv_udp_t: 0x7f318f85fea0 ok 130 udp - udp connect "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", ip = "127.0.0.1" } "PING" { port = 38532, family = "inet", 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.0 2.0 4.0 "uv_thread_t: 0x7f318dffbb38" "hello" uv_thread_t: 0x7f318dffbb38 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: 0x7f2a5122d290 "closed" uv_timer_t: 0x7f2a5122d290 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f2a5122d290 "closed" { } uv_timer_t: 0x7f2a5122d290 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", protocol = "tcp", socktype = "stream", family = "inet6", port = 80 }, { addr = "127.0.0.1", protocol = "tcp", socktype = "stream", family = "inet", port = 80 } } 2 ok 8 dns - Get all local http addresses { { protocol = "tcp", family = "inet6", socktype = "stream", addr = "::1", port = 80 }, { protocol = "tcp", family = "inet", socktype = "stream", addr = "127.0.0.1", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172", family = "inet" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", addr = "206.189.225.172", family = "inet" }, { protocol = "tcp", canonname = "luvit.io", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", addr = "2604:a880:400:d0::1b9f:2001", 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 { 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 = 51 } { stat = { size = 6060, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 16781997, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0x7f2a510cbd58, mtime = table: 0x7f2a510d07f0, ctime = table: 0x7f2a510ad5e8, birthtime = table: 0x7f2a510bc940, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 51 } { stat = { blksize = 4096, size = 6060, flags = 0, gen = 0, atime = table: 0x7f2a510d3128, mtime = table: 0x7f2a510d98f8, ctime = table: 0x7f2a510cbd58, birthtime = table: 0x7f2a510875f8, type = "file", blocks = 16, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 16781997 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "directory", name = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } uv_dir_t: 0x7f2a510ad618 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = "build-static" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = ".ci" }, { type = "directory", name = "tests" }, { type = "directory", name = "src" }, { type = "file", name = ".gitignore" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".clang-format" }, { type = "file", name = ".editorconfig" }, { type = "directory", name = "examples" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "deps" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "docs.md" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "lib" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = "build-static" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = ".ci" }, { type = "directory", name = "tests" }, { type = "directory", name = "src" }, { type = "file", name = ".gitignore" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".clang-format" }, { type = "file", name = ".editorconfig" }, { type = "directory", name = "examples" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "deps" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "docs.md" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "lib" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { blocks = 214974462, bfree = 34211611, files = 54673408, ffree = 45792882, type = 61267, bavail = 23273090, bsize = 4096 } ok 41 fs - fs.statfs sync { bfree = 34211611, files = 54673408, ffree = 45792882, type = 61267, bavail = 23273090, bsize = 4096, blocks = 214974462 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events = 33, events_waiting = 0, loop_count = 66 } { events = 33, events_waiting = 0, loop_count = 67 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.46.0", version = 77312 } ok 58 misc - uv.version and uv.version_string { free = 64001953792, rss = 2654208, total = 67493289984, constrained = 0, available = 64001953792 } ok 59 misc - memory size { uptime = 8984154.61 } ok 60 misc - uv.uptime { nsignals = 0, utime = { usec = 678933, sec = 0 }, stime = { usec = 75620, sec = 0 }, maxrss = 2592, ixrss = 0, idrss = 0, nivcsw = 1, nvcsw = 67, isrss = 0, minflt = 619, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2066, times = table: 0x7f2a510cbd58, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199, times = table: 0x7f2a510ba920, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2191, times = table: 0x7f2a510b2ee8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199, times = table: 0x7f2a510cdf78, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2123, times = table: 0x7f2a510c6488, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200, times = table: 0x7f2a510d82f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199, times = table: 0x7f2a510bc878, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199, times = table: 0x7f2a510b7b10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510bf798, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f2a510846e8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510cb1e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1638, times = table: 0x7f2a510d7588, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510875f8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1316, times = table: 0x7f2a510a8120, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1448, times = table: 0x7f2a510b3248, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1648, times = table: 0x7f2a510d5970, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2190, times = table: 0x7f2a510d7c68, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a5108a280, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510cda50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f2a5108b710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1444, times = table: 0x7f2a510d2b90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2005, times = table: 0x7f2a510c6550, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510d0970, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7f2a510abb78, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1899, times = table: 0x7f2a510c6dd0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1900, times = table: 0x7f2a510c6e18, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1900, times = table: 0x7f2a510cff98, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2186, times = table: 0x7f2a510c9618, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1731, times = table: 0x7f2a510d9a50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1332, times = table: 0x7f2a510ad6a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1723, times = table: 0x7f2a510e13d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1716, times = table: 0x7f2a510d7ea0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "lo" { { internal = true, ip = "127.0.0.1", netmask = "255.0.0.0", mac = "\0\0\0\0\0\0", family = "inet" }, { internal = true, ip = "::1", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", mac = "\0\0\0\0\0\0", family = "inet6" } } "eth0" { { internal = false, ip = "172.16.22.19", netmask = "255.255.255.0", mac = "\0>$˜­", family = "inet" }, { internal = false, ip = "fe80::216:3eff:fe24:98ad", netmask = "ffff:ffff:ffff:ffff::", mac = "\0>$˜­", family = "inet6" } } ok 64 misc - uv.interface_addresses { 2.75, 7.11, 5.69 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.0-beta3" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, shell = "/bin/sh", 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 8.9841551039844e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { sysname = "Linux", machine = "x86_64", release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000" } ok 73 misc - uv.os_uname os.time 1698826762 uv.gettimeofday 1698826762.000981 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 = 119830588, sec = 8984156 } nil "realtime" { nsec = 120076217, sec = 8984156 } 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: 0x7f2a5122df70 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f2a5122df70 "timeout" uv_timer_t: 0x7f2a510a36c0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f2a5122df70 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: 0x7f2a510a36d0, pid = 39832 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7f2a510a3770, pid = 39833 } "exit" uv_process_t: 0x7f2a510a3770 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7f2a510a36c0, pid = 39834 } "exit" uv_process_t: 0x7f2a510a36c0 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7f2a510a36d0, pid = 39836 } "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, code = 0, pid = 39839 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x7f2a510a3180, address = { ip = "127.0.0.1", family = "inet", port = 42911 } } { req = uv_connect_t: 0x7f2a510d0958, client = uv_tcp_t: 0x7f2a510a32e0 } "server on connection" uv_tcp_t: 0x7f2a510a3180 "client on connect" uv_tcp_t: 0x7f2a510a32e0 nil "client on shutdown" uv_tcp_t: 0x7f2a510a32e0 nil "client on close" uv_tcp_t: 0x7f2a510a32e0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f2a510a3190, address = { ip = "::1", family = "inet6", port = 36189 } } { req = uv_connect_t: 0x7f2a510d0958, client = uv_tcp_t: 0x7f2a510a32f0 } "server on connection" uv_tcp_t: 0x7f2a510a3190 "client on connect" uv_tcp_t: 0x7f2a510a32f0 nil "client on shutdown" uv_tcp_t: 0x7f2a510a32f0 nil "client on close" uv_tcp_t: 0x7f2a510a32f0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f2a510a31a0, address = { ip = "127.0.0.1", family = "inet", port = 38433 } } { socket = uv_tcp_t: 0x7f2a510a32b0, req = uv_write_t: 0x7f2a510ddd48 } "client onwrite" uv_tcp_t: 0x7f2a510a32b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f2a510a32c0, address = { ip = "127.0.0.1", family = "inet", port = 44041 } } { socket = uv_tcp_t: 0x7f2a510a31b0, req = uv_write_t: 0x7f2a51156dc0 } "client onwrite" uv_tcp_t: 0x7f2a510a31b0 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: 0x7f2a510a3180, address = { ip = "127.0.0.1", family = "inet", port = 43295 } } { socket = uv_tcp_t: 0x7f2a510a32d0, req = uv_write_t: 0x7f2a510d1158 } "client onwrite" uv_tcp_t: 0x7f2a510a32d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x7f2a510a32e0, address = { ip = "127.0.0.1", family = "inet", port = 39419 } } { socket = uv_tcp_t: 0x7f2a510a3190, req = uv_write_t: 0x7f2a510d1158 } "client onwrite" uv_tcp_t: 0x7f2a510a3190 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f2a510a31a0, address = { ip = "127.0.0.1", family = "inet", port = 41451 } } { socket = uv_tcp_t: 0x7f2a510a32f0, req = uv_write_t: 0x7f2a510d1158 } "client onwrite" uv_tcp_t: 0x7f2a510a32f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f2a510a31b0, address = { ip = "127.0.0.1", family = "inet", port = 35795 } } { socket = uv_tcp_t: 0x7f2a510a32b0, req = uv_write_t: 0x7f2a510d1158 } "client onwrite" uv_tcp_t: 0x7f2a510a32b0 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: 0x7f2a4f00bb30 { elapsed = 101, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f2a5118ac10 Runing uv_thread_t: 0x7f2a5118ac10 { 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: 0x7f2a510a3760 "closed" uv_timer_t: 0x7f2a510a3760 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f2a510a36c0 "interval" uv_timer_t: 0x7f2a510a36c0 "interval" uv_timer_t: 0x7f2a510a36c0 "closed" uv_timer_t: 0x7f2a510a36c0 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f2a510a36c0 "timeout" uv_timer_t: 0x7f2a510a3760 "interval" uv_timer_t: 0x7f2a510a36c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f2a510a36c0 0 "interval" uv_timer_t: 0x7f2a510a36c0 8 "interval" uv_timer_t: 0x7f2a510a36c0 4 "interval" uv_timer_t: 0x7f2a510a36c0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f2a510a3760 0 "interval" uv_timer_t: 0x7f2a510a3760 8 "interval" uv_timer_t: 0x7f2a510a3760 4 "interval" uv_timer_t: 0x7f2a510a3760 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x55ae6f0faed0 } { req = 0, client = uv_udp_t: 0x7f2a5122de70 } "client on send" uv_udp_t: 0x7f2a5122de70 nil "server on recv" uv_udp_t: 0x55ae6f0faed0 "PING" { ip = "127.0.0.1", family = "inet", port = 55400 } { } "server on close" uv_udp_t: 0x55ae6f0faed0 "client on close" uv_udp_t: 0x7f2a5122de70 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x55ae6f0faee0 } { req = 0, client = uv_udp_t: 0x7f2a5122de80 } "client on send" uv_udp_t: 0x7f2a5122de80 nil "server on recv" uv_udp_t: 0x55ae6f0faee0 "PING" { ip = "127.0.0.1", family = "inet", port = 46186 } { } "server on close" uv_udp_t: 0x55ae6f0faee0 "client on close" uv_udp_t: 0x7f2a5122de80 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x55ae6f0faed0 } { req = 0, client = uv_udp_t: 0x7f2a5122de70 } "client on send" uv_udp_t: 0x7f2a5122de70 nil "server on recv" uv_udp_t: 0x55ae6f0faed0 "PING" { ip = "::1", family = "inet6", port = 33129 } { } "server on close" uv_udp_t: 0x55ae6f0faed0 "client on close" uv_udp_t: 0x7f2a5122de70 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: 0x7f2a5122de80 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0x7f2a5122de80 "PING" { ip = "127.0.0.1", family = "inet", port = 57914 } { } "server on recv" uv_udp_t: 0x7f2a5122de80 "PING" { ip = "127.0.0.1", family = "inet", port = 60240 } { } "server on recv" uv_udp_t: 0x7f2a5122de80 "PING" { ip = "127.0.0.1", family = "inet", port = 60240 } { } "server on recv" uv_udp_t: 0x7f2a5122de80 nil nil { } "server on recv" uv_udp_t: 0x7f2a5122de80 "PING" { ip = "127.0.0.1", family = "inet", port = 55262 } { } "client on close" uv_udp_t: 0x55ae6f0faed0 "server on close" uv_udp_t: 0x7f2a5122de80 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } "PING" { ip = "127.0.0.1", family = "inet", port = 34836 } 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: 0x7f2a5087fb30" "hello" uv_thread_t: 0x7f2a5087fb30 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 0x7f2a5112f145 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_64.so.1 so:libuv.so.1 >>> libluv*: Package size: 168.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: 312.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_64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 196.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_64.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 192.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 Wed, 01 Nov 2023 08:19:29 +0000 elapsed time 0h 0m 55s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20231101.081841) (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: 472 MiB in 107 packages >>> lua-luv: Updating the community/x86_64 repository index... >>> lua-luv: Signing the index...