>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.13.0-r3) started Thu, 25 Apr 2024 04:32:17 +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.6.1-r3) (3/19) Installing libarchive (3.7.3-r0) (4/19) Installing rhash-libs (1.4.4-r0) (5/19) Installing libuv (1.48.0-r0) (6/19) Installing cmake (3.29.2-r1) (7/19) Installing libuv-dev (1.48.0-r0) (8/19) Installing lua-compat53-dev (0.13-r0) (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.10-r0) (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 (20240425.043240) Executing busybox-1.36.1-r25.trigger OK: 540 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.20/lua-luv-1.45.0-0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/v3.20/lua-luv-1.45.0-0.tar.gz.part' lua-luv-1.45.0-0.tar 100% |********************************| 127k 0:00:00 ETA '/var/cache/distfiles/v3.20/lua-luv-1.45.0-0.tar.gz.part' saved >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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.20/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.9s) -- 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 library libluv.so.1.45.0 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared library libluv.so.1.45.0 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.4") -- Configuring done (0.5s) -- 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 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.5") -- Configuring done (0.4s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C shared module luv.so [4/4] Linking C static library libluv.a >>> lua-luv: Running tests with lua5.1 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7f7fa5eb74e0 "closed" uv_timer_t: 0x7f7fa5eb74e0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f7fa5eb7580 "closed" { } uv_timer_t: 0x7f7fa5eb7580 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 = 25 } { stat = { nlink = 1, ino = 13909772, mtime = table: 0x7f7fa5ed8490, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f7fa5ed8440, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f7fa5ed8670, birthtime = table: 0x7f7fa5ed86c0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { nlink = 1, ino = 13909772, mtime = table: 0x7f7fa5e932b0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f7fa5e92fe0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f7fa5e93300, birthtime = table: 0x7f7fa5e93350, 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: 0x7f7fa5f02ab8 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 = 14145750, type = 61267, bsize = 4096, files = 54673408, bfree = 25084271, ffree = 46414367, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 14145750, type = 61267, bsize = 4096, files = 54673408, bfree = 25084271, ffree = 46414367, 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 = 77824, version_string = "1.48.0" } ok 58 misc - uv.version and uv.version_string { rss = 1806336, total = 67493289984, free = 60484263936, constrained = 0, available = 60484263936 } ok 59 misc - memory size { uptime = 24176988.8 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 699617, sec = 0 }, oublock = 88, stime = { usec = 90032, sec = 0 }, nivcsw = 9, minflt = 917, idrss = 0, majflt = 0, nvcsw = 72, isrss = 0, nswap = 0, maxrss = 2252, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2699, times = table: 0x7f7fa5ec9570, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ec97a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb67a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6930, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6a70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6b10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6c50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6d40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6de0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6e80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec0d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec1c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec300, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec580, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eec710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb2b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb350, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb3f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb5d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ecb760, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6000, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb60f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6280, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb63c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb6500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5eb65f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ef17f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7fa5ef18e0, 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>œ4", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.22.20" }, { mac = "\0>œ4", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe07:9c34" } } ok 64 misc - uv.interface_addresses { 33.64, 33.51, 34.49 } 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 2.417698884124e+16 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 1714019596 uv.gettimeofday 1714019596.000718 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 = 854574496, sec = 24176989 } nil "realtime" { nsec = 854627700, sec = 24176989 } 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: 0x7f7fa5ea4c10 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f7fa5e8e710 "timeout" uv_timer_t: 0x7f7fa5eb7300 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f7fa5e8e790 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: 0x7f7fa5ea3370, pid = 29154 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7f7fa5ea3400, pid = 29155 } "exit" uv_process_t: 0x7f7fa5ea3400 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7f7fa5ea3520, pid = 29156 } "exit" uv_process_t: 0x7f7fa5ea3520 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7f7fa5ea3640, pid = 29158 } "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 = 29161, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 43277, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5ed9b20 } { req = uv_connect_t: 0x7f7fa5ea3ae8, client = uv_tcp_t: 0x7f7fa5ed9690 } "server on connection" uv_tcp_t: 0x7f7fa5ed9b20 "client on connect" uv_tcp_t: 0x7f7fa5ed9690 nil "client on shutdown" uv_tcp_t: 0x7f7fa5ed9690 nil "client on close" uv_tcp_t: 0x7f7fa5ed9690 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 35291, ip = "::1" }, server = uv_tcp_t: 0x7f7fa5e8f140 } { req = uv_connect_t: 0x7f7fa5ea3b78, client = uv_tcp_t: 0x7f7fa5e8f380 } "server on connection" uv_tcp_t: 0x7f7fa5e8f140 "client on connect" uv_tcp_t: 0x7f7fa5e8f380 nil "client on shutdown" uv_tcp_t: 0x7f7fa5e8f380 nil "client on close" uv_tcp_t: 0x7f7fa5e8f380 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 46751, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5e8f4b0 } { req = uv_write_t: 0x7f7fa5f2dbe8, socket = uv_tcp_t: 0x7f7fa5e8f5c0 } "client onwrite" uv_tcp_t: 0x7f7fa5e8f5c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 38317, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5e8f810 } { req = uv_write_t: 0x7f7fa5f2dae8, socket = uv_tcp_t: 0x7f7fa5e8f930 } "client onwrite" uv_tcp_t: 0x7f7fa5e8f930 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 = 44843, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5e8fc90 } { req = uv_write_t: 0x7f7fa5f9bb28, socket = uv_tcp_t: 0x7f7fa5e8fdb0 } "client onwrite" uv_tcp_t: 0x7f7fa5e8fdb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 38727, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5ea6b70 } { req = uv_write_t: 0x7f7fa5f2dbe8, socket = uv_tcp_t: 0x7f7fa5eda800 } "client onwrite" uv_tcp_t: 0x7f7fa5eda800 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 45081, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5ed9a10 } { req = uv_write_t: 0x7f7fa5f9bb28, socket = uv_tcp_t: 0x7f7fa5ed9b30 } "client onwrite" uv_tcp_t: 0x7f7fa5ed9b30 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 34965, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7fa5e8f150 } { req = uv_write_t: 0x7f7fa5f2dae8, socket = uv_tcp_t: 0x7f7fa5e8f390 } "client onwrite" uv_tcp_t: 0x7f7fa5e8f390 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: 0x7f7fa3e81b38 { delay = 100, elapsed = 102 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f7fa6070b28 Runing uv_thread_t: 0x7f7fa6070b28 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0x7f7fa5eb7620 "closed" uv_timer_t: 0x7f7fa5eb7620 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f7fa5ebb530 "interval" uv_timer_t: 0x7f7fa5ebb530 "interval" uv_timer_t: 0x7f7fa5ebb530 "closed" uv_timer_t: 0x7f7fa5ebb530 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f7fa5eb7300 "timeout" uv_timer_t: 0x7f7fa5ebb5d0 "interval" uv_timer_t: 0x7f7fa5eb7300 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f7fa5eb73a0 0 "interval" uv_timer_t: 0x7f7fa5eb73a0 8 "interval" uv_timer_t: 0x7f7fa5eb73a0 4 "interval" uv_timer_t: 0x7f7fa5eb73a0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f7fa5eb74e0 0 "interval" uv_timer_t: 0x7f7fa5eb74e0 8 "interval" uv_timer_t: 0x7f7fa5eb74e0 4 "interval" uv_timer_t: 0x7f7fa5eb74e0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7f7fa5f9bb10 } { req = 0, client = uv_udp_t: 0x7f7fa5eeefb0 } "client on send" uv_udp_t: 0x7f7fa5eeefb0 nil "server on recv" uv_udp_t: 0x7f7fa5f9bb10 "PING" { family = "inet", port = 38953, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f7fa5f9bb10 "client on close" uv_udp_t: 0x7f7fa5eeefb0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f7fa5f2dad0 } { req = 0, client = uv_udp_t: 0x7f7fa5eef380 } "client on send" uv_udp_t: 0x7f7fa5eef380 nil "server on recv" uv_udp_t: 0x7f7fa5f2dad0 "PING" { family = "inet", port = 38383, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f7fa5f2dad0 "client on close" uv_udp_t: 0x7f7fa5eef380 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7f7fa5f2dbd0 } { req = 0, client = uv_udp_t: 0x7f7fa5eefb50 } "client on send" uv_udp_t: 0x7f7fa5eefb50 nil "server on recv" uv_udp_t: 0x7f7fa5f2dbd0 "PING" { family = "inet6", port = 54770, ip = "::1" } { } "server on close" uv_udp_t: 0x7f7fa5f2dbd0 "client on close" uv_udp_t: 0x7f7fa5eefb50 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: 0x7f7fa5f9bb00 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7f7fa5f9bb00 "PING" { family = "inet", port = 48356, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7fa5f9bb00 "PING" { family = "inet", port = 48925, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7fa5f9bb00 "PING" { family = "inet", port = 48925, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7fa5f9bb00 nil nil { } "server on recv" uv_udp_t: 0x7f7fa5f9bb00 "PING" { family = "inet", port = 45675, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7f7fa5f2dbd0 "server on close" uv_udp_t: 0x7f7fa5f9bb00 ok 130 udp - udp connect "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, ip = "127.0.0.1" } "PING" { family = "inet", port = 34487, 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: 0x7f7fa4e87b38" "hello" uv_thread_t: 0x7f7fa4e87b38 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: 0x7f3aa9d51b50 "closed" uv_timer_t: 0x7f3aa9d51b50 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f3aa9d51bf0 "closed" { } uv_timer_t: 0x7f3aa9d51bf0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { family = "inet6", addr = "::1", protocol = "tcp", port = 80, socktype = "stream" }, { family = "inet", addr = "127.0.0.1", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", addr = "::1", protocol = "tcp", port = 80, socktype = "stream" }, { family = "inet", addr = "127.0.0.1", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet", addr = "206.189.225.172", protocol = "udp", canonname = "luvit.io", socktype = "dgram" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", canonname = "luvit.io", socktype = "dgram" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "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 = 25 } { stat = { uid = 1000, blocks = 16, mtime = table: 0x7f3aa9d566e0, mode = 33188, rdev = 0, nlink = 1, blksize = 4096, type = "file", birthtime = table: 0x7f3aa9d55bf0, ctime = table: 0x7f3aa9d56760, size = 6060, gid = 1000, ino = 13909772, gen = 0, flags = 0, dev = 64769, atime = table: 0x7f3aa9d56660 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { uid = 1000, blocks = 16, mtime = table: 0x7f3aa9d68d50, mode = 33188, rdev = 0, nlink = 1, blksize = 4096, type = "file", birthtime = table: 0x7f3aa9d68e90, ctime = table: 0x7f3aa9d68e10, size = 6060, gid = 1000, ino = 13909772, gen = 0, flags = 0, dev = 64769, atime = table: 0x7f3aa9d68c50 } } { 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: 0x7f3aa9d46d78 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 { bsize = 4096, blocks = 214974462, files = 54673408, type = 61267, bfree = 25083794, ffree = 46414308, bavail = 14145273 } ok 41 fs - fs.statfs sync { bsize = 4096, blocks = 214974462, files = 54673408, type = 61267, bfree = 25083794, ffree = 46414308, bavail = 14145273 } 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 = 77824, version_string = "1.48.0" } ok 58 misc - uv.version and uv.version_string { available = 60526403584.0, rss = 2023424, constrained = 0.0, total = 67493289984.0, free = 60526403584.0 } ok 59 misc - memory size { uptime = 24176997.67 } ok 60 misc - uv.uptime { idrss = 0, nswap = 0, nivcsw = 7, msgrcv = 0, minflt = 856, nsignals = 0, majflt = 0, nvcsw = 75, msgsnd = 0, stime = { sec = 0, usec = 89427 }, isrss = 0, utime = { sec = 0, usec = 674198 }, oublock = 72, maxrss = 2272, ixrss = 0, inblock = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d68a50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d68cd0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d68e50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d477d0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d47c50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d47d50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d8b5d0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5f910 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5fad0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5fc50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5fe50 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5ff90 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d56260 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d566e0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d55bf0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d55db0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d689d0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d68e10 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d47b10 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d84f30 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5fa10 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5fe10 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d56220 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d557f0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d6a2e0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d47810 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d5f990 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d561a0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d6a1e0 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d8b610 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d55c70 }, { speed = 2699.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f3aa9d565e0 } } ok 63 misc - uv.cpu_info "lo" { { internal = true, family = "inet", ip = "127.0.0.1", mac = "\0\0\0\0\0\0", netmask = "255.0.0.0" }, { internal = true, family = "inet6", ip = "::1", mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } "eth0" { { internal = false, family = "inet", ip = "172.16.22.20", mac = "\0>œ4", netmask = "255.255.255.0" }, { internal = false, family = "inet6", ip = "fe80::216:3eff:fe07:9c34", mac = "\0>œ4", netmask = "ffff:ffff:ffff:ffff::" } } ok 64 misc - uv.interface_addresses { 33.61, 33.51, 34.48 } 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 { uid = 1000, username = "buildozer", homedir = "/home/buildozer", shell = "/bin/sh", gid = 1000 } 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 2.417699770502e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux", machine = "x86_64" } ok 73 misc - uv.os_uname os.time 1714019605 uv.gettimeofday 1714019605.000581 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 = 24176998, nsec = 713424678 } nil "realtime" { sec = 24176998, nsec = 713475893 } 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: 0x7f3aa9d8b840 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f3aa9d8b8c0 "timeout" uv_timer_t: 0x7f3aa9d51b50 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f3aa9d8b940 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: 0x7f3aa9d416d0, pid = 29190 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7f3aa9d417f0, pid = 29191 } "exit" uv_process_t: 0x7f3aa9d417f0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7f3aa9d41880, pid = 29192 } "exit" uv_process_t: 0x7f3aa9d41880 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7f3aa9d419a0, pid = 29194 } "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" { signal = 0, code = 0, pid = 29197 } ok 100 signal - Catch SIGINT { address = { family = "inet", ip = "127.0.0.1", port = 41369 }, server = uv_tcp_t: 0x7f3aa9d454b0 } { req = uv_connect_t: 0x7f3aa9d51cc8, client = uv_tcp_t: 0x7f3aa9d456f0 } "server on connection" uv_tcp_t: 0x7f3aa9d454b0 "client on connect" uv_tcp_t: 0x7f3aa9d456f0 nil "client on shutdown" uv_tcp_t: 0x7f3aa9d456f0 nil "client on close" uv_tcp_t: 0x7f3aa9d456f0 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", ip = "::1", port = 37117 }, server = uv_tcp_t: 0x7f3aa9d45140 } { req = uv_connect_t: 0x7f3aa9d51d68, client = uv_tcp_t: 0x7f3aa9d454c0 } "server on connection" uv_tcp_t: 0x7f3aa9d45140 "client on connect" uv_tcp_t: 0x7f3aa9d454c0 nil "client on shutdown" uv_tcp_t: 0x7f3aa9d454c0 nil "client on close" uv_tcp_t: 0x7f3aa9d454c0 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", ip = "127.0.0.1", port = 42209 }, server = uv_tcp_t: 0x7f3aa9d61100 } { req = uv_write_t: 0x7f3aa9d454d8, socket = uv_tcp_t: 0x7f3aa9d45150 } "client onwrite" uv_tcp_t: 0x7f3aa9d45150 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", ip = "127.0.0.1", port = 41045 }, server = uv_tcp_t: 0x7f3aa9d45160 } { req = uv_write_t: 0x7f3aa9d45728, socket = uv_tcp_t: 0x7f3aa9d454b0 } "client onwrite" uv_tcp_t: 0x7f3aa9d454b0 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", ip = "127.0.0.1", port = 42901 }, server = uv_tcp_t: 0x7f3aa9d46480 } { req = uv_write_t: 0x7f3aa9d45178, socket = uv_tcp_t: 0x7f3aa9d466d0 } "client onwrite" uv_tcp_t: 0x7f3aa9d466d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", ip = "127.0.0.1", port = 34513 }, server = uv_tcp_t: 0x7f3aa9d45030 } { req = uv_write_t: 0x7f3aa9d45618, socket = uv_tcp_t: 0x7f3aa9d45270 } "client onwrite" uv_tcp_t: 0x7f3aa9d45270 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", ip = "127.0.0.1", port = 42097 }, server = uv_tcp_t: 0x7f3aa9d45160 } { req = uv_write_t: 0x7f3aa9d45738, socket = uv_tcp_t: 0x7f3aa9d454b0 } "client onwrite" uv_tcp_t: 0x7f3aa9d454b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", ip = "127.0.0.1", port = 46435 }, server = uv_tcp_t: 0x7f3aa9d79c90 } { req = uv_write_t: 0x7f3aa9d61138, socket = uv_tcp_t: 0x7f3aa9d465b0 } "client onwrite" uv_tcp_t: 0x7f3aa9d465b0 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: 0x7f3aa7d26b38 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f3aa9f86b28 Runing uv_thread_t: 0x7f3aa9f86b28 { delay = 100, elapsed = 100 } 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: 0x7f3aa9d51d30 "closed" uv_timer_t: 0x7f3aa9d51d30 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f3aa9d51dd0 "interval" uv_timer_t: 0x7f3aa9d51dd0 "interval" uv_timer_t: 0x7f3aa9d51dd0 "closed" uv_timer_t: 0x7f3aa9d51dd0 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f3aa9d51bf0 "timeout" uv_timer_t: 0x7f3aa9d51b50 "interval" uv_timer_t: 0x7f3aa9d51bf0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f3aa9d51c90 0 "interval" uv_timer_t: 0x7f3aa9d51c90 8 "interval" uv_timer_t: 0x7f3aa9d51c90 4 "interval" uv_timer_t: 0x7f3aa9d51c90 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f3aa9d51d30 0 "interval" uv_timer_t: 0x7f3aa9d51d30 8 "interval" uv_timer_t: 0x7f3aa9d51d30 4 "interval" uv_timer_t: 0x7f3aa9d51d30 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7f3aa9d8dea0 } { req = 0, client = uv_udp_t: 0x7f3aa9d50ef0 } "client on send" uv_udp_t: 0x7f3aa9d50ef0 nil "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet", ip = "127.0.0.1", port = 59869 } { } "server on close" uv_udp_t: 0x7f3aa9d8dea0 "client on close" uv_udp_t: 0x7f3aa9d50ef0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f3aa9d8deb0 } { req = 0, client = uv_udp_t: 0x7f3aa9d512d0 } "client on send" uv_udp_t: 0x7f3aa9d512d0 nil "server on recv" uv_udp_t: 0x7f3aa9d8deb0 "PING" { family = "inet", ip = "127.0.0.1", port = 59532 } { } "server on close" uv_udp_t: 0x7f3aa9d8deb0 "client on close" uv_udp_t: 0x7f3aa9d512d0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7f3aa9d8dea0 } { req = 0, client = uv_udp_t: 0x7f3aa9d51eb0 } "client on send" uv_udp_t: 0x7f3aa9d51eb0 nil "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet6", ip = "::1", port = 60113 } { } "server on close" uv_udp_t: 0x7f3aa9d8dea0 "client on close" uv_udp_t: 0x7f3aa9d51eb0 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: 0x7f3aa9d8dea0 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet", ip = "127.0.0.1", port = 52199 } { } "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet", ip = "127.0.0.1", port = 53773 } { } "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet", ip = "127.0.0.1", port = 53773 } { } "server on recv" uv_udp_t: 0x7f3aa9d8dea0 nil nil { } "server on recv" uv_udp_t: 0x7f3aa9d8dea0 "PING" { family = "inet", ip = "127.0.0.1", port = 60579 } { } "client on close" uv_udp_t: 0x7f3aa9d52290 "server on close" uv_udp_t: 0x7f3aa9d8dea0 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } "PING" { family = "inet", ip = "127.0.0.1", port = 58221 } 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: 0x7f3aa952fb38" "hello" uv_thread_t: 0x7f3aa952fb38 finish hello ok 134 work - test threadpool with async 1 2 3 4 hello world from thread 6 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]: 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: 0x7f149e7a42b0 "closed" uv_timer_t: 0x7f149e7a42b0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f149e7a42b0 "closed" { } uv_timer_t: 0x7f149e7a42b0 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 { { protocol = "tcp", addr = "::1", port = 80, family = "inet6", socktype = "stream" }, { protocol = "tcp", addr = "127.0.0.1", port = 80, family = "inet", socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", protocol = "tcp", socktype = "stream", family = "inet6", port = 80 }, { addr = "127.0.0.1", protocol = "tcp", socktype = "stream", family = "inet", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", socktype = "stream", protocol = "tcp", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { 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 { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet", addr = "206.189.225.172" }, { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "localhost" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "localhost" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 25 } { stat = { gen = 0, atime = table: 0x7f149e64f7f0, mtime = table: 0x7f149e61e208, ctime = table: 0x7f149e5fc068, birthtime = table: 0x7f149e64d5d8, type = "file", size = 6060, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 13909772, blksize = 4096, blocks = 16, flags = 0 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 13909772, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0x7f149e63b3f8, mtime = table: 0x7f149e649178, ctime = table: 0x7f149e64f7f0, birthtime = table: 0x7f149e6d4720, type = "file", size = 6060, dev = 64769, mode = 33188 } } { 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: 0x7f149e64a510 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, type = 61267, files = 54673408, ffree = 46414273, bavail = 14145112, bfree = 25083633, bsize = 4096 } ok 41 fs - fs.statfs sync { type = 61267, bavail = 14145112, bsize = 4096, blocks = 214974462, bfree = 25083633, files = 54673408, ffree = 46414273 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version = 77824, version_string = "1.48.0" } ok 58 misc - uv.version and uv.version_string { rss = 2727936, total = 67493289984, constrained = 0, available = 60152971264, free = 60152971264 } ok 59 misc - memory size { uptime = 24177006.52 } ok 60 misc - uv.uptime { majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 76, nivcsw = 8, utime = { sec = 0, usec = 696686 }, stime = { sec = 0, usec = 106420 }, maxrss = 2664, ixrss = 0, idrss = 0, isrss = 0, minflt = 604 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { times = table: 0x7f149e649898, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e64b9c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e635798, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e650c48, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e5fa548, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e637ac8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e64dcb8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e644c10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e5fdba8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e629248, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e6235e8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e636120, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e64d668, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e636750, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e64fce0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e647c18, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e6d5010, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e632940, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e637f38, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e601288, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e63cf18, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e623e38, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e63e858, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e61e0d8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e628bb8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e62bc08, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e636a08, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e63ec30, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e637c00, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e6454c8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e620918, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 }, { times = table: 0x7f149e5fe1d8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699 } } ok 63 misc - uv.cpu_info "eth0" { { internal = false, mac = "\0>œ4", family = "inet", netmask = "255.255.255.0", ip = "172.16.22.20" }, { internal = false, mac = "\0>œ4", family = "inet6", netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe07:9c34" } } "lo" { { internal = true, mac = "\0\0\0\0\0\0", family = "inet", netmask = "255.0.0.0", ip = "127.0.0.1" }, { internal = true, mac = "\0\0\0\0\0\0", family = "inet6", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1" } } ok 64 misc - uv.interface_addresses { 33.36, 33.46, 34.45 } 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 { homedir = "/home/buildozer", username = "buildozer", uid = 1000, gid = 1000, 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 2.417700655538e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux", machine = "x86_64" } ok 73 misc - uv.os_uname os.time 1714019614 uv.gettimeofday 1714019614.000432 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 = 24177007, nsec = 569542756 } nil "realtime" { sec = 24177007, nsec = 569614462 } 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: 0x7f149e619820 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f149e619820 "timeout" uv_timer_t: 0x7f149e701a50 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f149e619820 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: 0x7f149e701a60, pid = 29224 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7f149e701b00, pid = 29225 } "exit" uv_process_t: 0x7f149e701b00 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7f149e701a50, pid = 29226 } "exit" uv_process_t: 0x7f149e701a50 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7f149e701a60, pid = 29228 } "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 = 29231 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x7f149e7a45f0, address = { ip = "127.0.0.1", family = "inet", port = 39215 } } { req = uv_connect_t: 0x7f149e5fa890, client = uv_tcp_t: 0x7f149e619860 } "server on connection" uv_tcp_t: 0x7f149e7a45f0 "client on connect" uv_tcp_t: 0x7f149e619860 nil "client on shutdown" uv_tcp_t: 0x7f149e619860 nil "client on close" uv_tcp_t: 0x7f149e619860 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f149e7a4600, address = { ip = "::1", family = "inet6", port = 32913 } } { req = uv_connect_t: 0x7f149e5fa890, client = uv_tcp_t: 0x7f149e619820 } "server on connection" uv_tcp_t: 0x7f149e7a4600 "client on connect" uv_tcp_t: 0x7f149e619820 nil "client on shutdown" uv_tcp_t: 0x7f149e619820 nil "client on close" uv_tcp_t: 0x7f149e619820 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f149e7a4610, address = { ip = "127.0.0.1", family = "inet", port = 40157 } } { socket = uv_tcp_t: 0x7f149e619830, req = uv_write_t: 0x7f149e5fc2a0 } "client onwrite" uv_tcp_t: 0x7f149e619830 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f149e619ac0, address = { ip = "127.0.0.1", family = "inet", port = 46857 } } { socket = uv_tcp_t: 0x7f149e619840, req = uv_write_t: 0x7f149e656d08 } "client onwrite" uv_tcp_t: 0x7f149e619840 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: 0x7f149e619860, address = { ip = "127.0.0.1", family = "inet", port = 41359 } } { socket = uv_tcp_t: 0x7f149e619ad0, req = uv_write_t: 0x7f149e5fc2a0 } "client onwrite" uv_tcp_t: 0x7f149e619ad0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x7f149e619ae0, address = { ip = "127.0.0.1", family = "inet", port = 34909 } } { socket = uv_tcp_t: 0x7f149e619820, req = uv_write_t: 0x7f149e5fc2a0 } "client onwrite" uv_tcp_t: 0x7f149e619820 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f149e619830, address = { ip = "127.0.0.1", family = "inet", port = 45757 } } { socket = uv_tcp_t: 0x7f149e619aa0, req = uv_write_t: 0x7f149e5fc2a0 } "client onwrite" uv_tcp_t: 0x7f149e619aa0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f149e619840, address = { ip = "127.0.0.1", family = "inet", port = 36085 } } { socket = uv_tcp_t: 0x7f149e619ab0, req = uv_write_t: 0x7f149e5fc2a0 } "client onwrite" uv_tcp_t: 0x7f149e619ab0 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: 0x7f149c581b30 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f149e701c10 Runing uv_thread_t: 0x7f149e701c10 { 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: 0x7f149e701af0 "closed" uv_timer_t: 0x7f149e701af0 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f149e701a50 "interval" uv_timer_t: 0x7f149e701a50 "interval" uv_timer_t: 0x7f149e701a50 "closed" uv_timer_t: 0x7f149e701a50 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f149e701a50 "timeout" uv_timer_t: 0x7f149e701af0 "interval" uv_timer_t: 0x7f149e701a50 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f149e701a50 0 "interval" uv_timer_t: 0x7f149e701a50 8 "interval" uv_timer_t: 0x7f149e701a50 4 "interval" uv_timer_t: 0x7f149e701a50 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f149e701af0 0 "interval" uv_timer_t: 0x7f149e701af0 8 "interval" uv_timer_t: 0x7f149e701af0 4 "interval" uv_timer_t: 0x7f149e701af0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x559beb767ed0 } { req = 0, client = uv_udp_t: 0x7f149e7a4e90 } "client on send" uv_udp_t: 0x7f149e7a4e90 nil "server on recv" uv_udp_t: 0x559beb767ed0 "PING" { ip = "127.0.0.1", family = "inet", port = 57760 } { } "server on close" uv_udp_t: 0x559beb767ed0 "client on close" uv_udp_t: 0x7f149e7a4e90 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x559beb767ee0 } { req = 0, client = uv_udp_t: 0x7f149e7a4ea0 } "client on send" uv_udp_t: 0x7f149e7a4ea0 nil "server on recv" uv_udp_t: 0x559beb767ee0 "PING" { ip = "127.0.0.1", family = "inet", port = 35215 } { } "server on close" uv_udp_t: 0x559beb767ee0 "client on close" uv_udp_t: 0x7f149e7a4ea0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x559beb767ed0 } { req = 0, client = uv_udp_t: 0x7f149e7a4e90 } "client on send" uv_udp_t: 0x7f149e7a4e90 nil "server on recv" uv_udp_t: 0x559beb767ed0 "PING" { ip = "::1", family = "inet6", port = 55138 } { } "server on close" uv_udp_t: 0x559beb767ed0 "client on close" uv_udp_t: 0x7f149e7a4e90 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: 0x7f149e7a4ea0 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0x7f149e7a4ea0 "PING" { ip = "127.0.0.1", family = "inet", port = 50637 } { } "server on recv" uv_udp_t: 0x7f149e7a4ea0 "PING" { ip = "127.0.0.1", family = "inet", port = 58753 } { } "server on recv" uv_udp_t: 0x7f149e7a4ea0 "PING" { ip = "127.0.0.1", family = "inet", port = 58753 } { } "server on recv" uv_udp_t: 0x7f149e7a4ea0 nil nil { } "server on recv" uv_udp_t: 0x7f149e7a4ea0 "PING" { ip = "127.0.0.1", family = "inet", port = 57219 } { } "client on close" uv_udp_t: 0x559beb767ed0 "server on close" uv_udp_t: 0x7f149e7a4ea0 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } "PING" { ip = "127.0.0.1", family = "inet", port = 54419 } 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: 0x7f149cdefb30" "hello" uv_thread_t: 0x7f149cdefb30 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 0x7f149e6a5f8a 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: 304.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: 188.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.45.0.0-r0.apk >>> lua-luv: Build complete at Thu, 25 Apr 2024 04:33:42 +0000 elapsed time 0h 1m 25s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20240425.043240) (2/19) Purging cmake (3.29.2-r1) (3/19) Purging libuv-dev (1.48.0-r0) (4/19) Purging libuv (1.48.0-r0) (5/19) Purging lua-compat53-dev (0.13-r0) (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.3-r0) (15/19) Purging libbz2 (1.0.8-r6) (16/19) Purging readline (8.2.10-r0) (17/19) Purging rhash-libs (1.4.4-r0) (18/19) Purging samurai (1.2-r5) (19/19) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 472 MiB in 107 packages >>> lua-luv: Updating the community/x86_64 repository index... >>> lua-luv: Signing the index...