>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.13.0-r3) started Sun, 28 Apr 2024 01:09:47 +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 (20240428.011005) Executing busybox-1.36.1-r26.trigger OK: 445 MiB in 121 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/lua-luv-1.45.0-0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32: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.2s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.1 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.2s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared library libluv.so.1.45.0 [4/5] Linking C shared module luv.so [5/5] Creating library symlink libluv.so.1 libluv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.4") -- Configuring done (0.2s) -- 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] 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.5") -- Configuring done (0.2s) -- 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 static library libluv.a [4/4] Linking C shared module luv.so >>> 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: 0xf7e10040 "closed" uv_timer_t: 0xf7e10040 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7e100a0 "closed" { } uv_timer_t: 0xf7e100a0 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 = 33 } { stat = { nlink = 1, ino = 33885747, mtime = table: 0xf7e5d310, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7e5d280, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7e0f770, birthtime = table: 0xf7e0f7a0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 33 } { stat = { nlink = 1, ino = 33885747, mtime = table: 0xf7e0c260, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7e0c1d0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7e0c290, birthtime = table: 0xf7e0c2f0, blocks = 16 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7e4a894 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 6087735, type = 61267, bsize = 4096, files = 54673408, bfree = 17026256, ffree = 50533304, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 6087735, type = 61267, bsize = 4096, files = 54673408, bfree = 17026256, ffree = 50533304, 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 = 3891200, total = 67493289984, free = 59174871040, constrained = 0, available = 59174871040 } ok 59 misc - memory size { uptime = 31661900.02 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 706371, sec = 0 }, oublock = 72, stime = { usec = 70386, sec = 0 }, nivcsw = 2, minflt = 723, idrss = 0, majflt = 0, nvcsw = 66, isrss = 0, nswap = 0, maxrss = 4164, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2799, times = table: 0xf7e35ca0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2862, times = table: 0xf7e35d60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2708, times = table: 0xf7e35df0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2895, times = table: 0xf7e35e80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2865, times = table: 0xf7e333c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2886, times = table: 0xf7e33420, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2974, times = table: 0xf7e334b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2861, times = table: 0xf7e33570, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2878, times = table: 0xf7e335d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2861, times = table: 0xf7e33660, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2991, times = table: 0xf7e336c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2706, times = table: 0xf7e69380, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2742, times = table: 0xf7e693e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2861, times = table: 0xf7e694a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2778, times = table: 0xf7e69530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2994, times = table: 0xf7e695f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2975, times = table: 0xf7e23e60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2829, times = table: 0xf7e23ec0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2848, times = table: 0xf7e23fb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2806, times = table: 0xf7e24040, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2900, times = table: 0xf7e24160, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2706, times = table: 0xf7e241c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2959, times = table: 0xf7e0f770, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2738, times = table: 0xf7e0f7d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0xf7e0f830, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2789, times = table: 0xf7e0f890, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2769, times = table: 0xf7e0f8f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2817, times = table: 0xf7e0f950, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2709, times = table: 0xf7e0fa10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2888, times = table: 0xf7e0fa70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0xf7e0fad0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2899, times = table: 0xf7e31cb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", internal = true, family = "inet", ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", ip = "::1" } } "eth0" { { mac = "\0>¤“Ä", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.21.20" }, { mac = "\0>¤“Ä", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fea4:93c4" } } ok 64 misc - uv.interface_addresses { 4.31, 6.24, 5.89 } ok 65 misc - uv.loadavg "/usr/bin/lua5.1" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/ash" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 3.1661900503754e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "5.15.108-0-lts", machine = "i686", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1714266628 uv.gettimeofday 1714266628.000719 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 = 513162860, sec = 31661901 } nil "realtime" { nsec = 513196703, sec = 31661901 } 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: 0xf7e2bf50 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7e031e0 "timeout" uv_timer_t: 0xf7e10280 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7e03760 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: 0xf7e27260, pid = 26343 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7e2d750, pid = 26344 } "exit" uv_process_t: 0xf7e2d750 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7e75840, pid = 26345 } "exit" uv_process_t: 0xf7e75840 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7e2f620, pid = 26347 } "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 = 26350, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 46509, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e26360 } { req = uv_connect_t: 0xf7e07374, client = uv_tcp_t: 0xf7e1ae20 } "server on connection" uv_tcp_t: 0xf7e26360 "client on connect" uv_tcp_t: 0xf7e1ae20 nil "client on shutdown" uv_tcp_t: 0xf7e1ae20 nil "client on close" uv_tcp_t: 0xf7e1ae20 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 39147, ip = "::1" }, server = uv_tcp_t: 0xf7e1aeb0 } { req = uv_connect_t: 0xf7e30904, client = uv_tcp_t: 0xf7e261b0 } "server on connection" uv_tcp_t: 0xf7e1aeb0 "client on connect" uv_tcp_t: 0xf7e261b0 nil "client on shutdown" uv_tcp_t: 0xf7e261b0 nil "client on close" uv_tcp_t: 0xf7e261b0 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 38215, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e26360 } { req = uv_write_t: 0xf7e736a4, socket = uv_tcp_t: 0xf7e1ae20 } "client onwrite" uv_tcp_t: 0xf7e1ae20 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 44787, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e261b0 } { req = uv_write_t: 0xf7e73da4, socket = uv_tcp_t: 0xf7e26360 } "client onwrite" uv_tcp_t: 0xf7e26360 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 = 41189, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e261b0 } { req = uv_write_t: 0xf7e6b824, socket = uv_tcp_t: 0xf7e26360 } "client onwrite" uv_tcp_t: 0xf7e26360 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 38677, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e1aeb0 } { req = uv_write_t: 0xf7e2e714, socket = uv_tcp_t: 0xf7e261b0 } "client onwrite" uv_tcp_t: 0xf7e261b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 33623, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e1ae20 } { req = uv_write_t: 0xf7e73724, socket = uv_tcp_t: 0xf7e1aeb0 } "client onwrite" uv_tcp_t: 0xf7e1aeb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 42441, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7e26360 } { req = uv_write_t: 0xf7e73e24, socket = uv_tcp_t: 0xf7e1ae20 } "client onwrite" uv_tcp_t: 0xf7e1ae20 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: 0xf5dd0d90 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7fc2c64 Runing uv_thread_t: 0xf7fc2c64 { delay = 100, elapsed = 101 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7e10280 "closed" uv_timer_t: 0xf7e10280 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7e488c0 "interval" uv_timer_t: 0xf7e488c0 "interval" uv_timer_t: 0xf7e488c0 "closed" uv_timer_t: 0xf7e488c0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7e36db0 "timeout" uv_timer_t: 0xf7e36d50 "interval" uv_timer_t: 0xf7e36db0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7e36e10 0 "interval" uv_timer_t: 0xf7e36e10 8 "interval" uv_timer_t: 0xf7e36e10 4 "interval" uv_timer_t: 0xf7e36e10 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7e0ffe0 0 "interval" uv_timer_t: 0xf7e0ffe0 8 "interval" uv_timer_t: 0xf7e0ffe0 4 "interval" uv_timer_t: 0xf7e0ffe0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7e6b890 } { req = 0, client = uv_udp_t: 0xf7e6d290 } "client on send" uv_udp_t: 0xf7e6d290 nil "server on recv" uv_udp_t: 0xf7e6b890 "PING" { family = "inet", port = 57006, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7e6b890 "client on close" uv_udp_t: 0xf7e6d290 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7e2e700 } { req = 0, client = uv_udp_t: 0xf7e46520 } "client on send" uv_udp_t: 0xf7e46520 nil "server on recv" uv_udp_t: 0xf7e2e700 "PING" { family = "inet", port = 59306, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7e2e700 "client on close" uv_udp_t: 0xf7e46520 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7e73710 } { req = 0, client = uv_udp_t: 0xf7e73810 } "client on send" uv_udp_t: 0xf7e73810 nil "server on recv" uv_udp_t: 0xf7e73710 "PING" { family = "inet6", port = 35070, ip = "::1" } { } "server on close" uv_udp_t: 0xf7e73710 "client on close" uv_udp_t: 0xf7e73810 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: 0xf7e6b590 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7e6b590 "PING" { family = "inet", port = 52186, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e6b590 "PING" { family = "inet", port = 32792, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e6b590 "PING" { family = "inet", port = 32792, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e6b590 nil nil { } "server on recv" uv_udp_t: 0xf7e6b590 "PING" { family = "inet", port = 54878, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7e6b610 "server on close" uv_udp_t: 0xf7e6b590 ok 130 udp - udp connect "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, ip = "127.0.0.1" } "PING" { family = "inet", port = 34101, 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: 0xf6dfbd90" "hello" uv_thread_t: 0xf6dfbd90 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: 0xf7d5b260 "closed" uv_timer_t: 0xf7d5b260 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d5b2c0 "closed" { } uv_timer_t: 0xf7d5b2c0 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 { { socktype = "stream", port = 80, family = "inet6", addr = "::1", protocol = "tcp" }, { socktype = "stream", port = 80, family = "inet", addr = "127.0.0.1", protocol = "tcp" } } 2 ok 8 dns - Get all local http addresses { { socktype = "stream", port = 80, family = "inet6", addr = "::1", protocol = "tcp" }, { socktype = "stream", port = 80, family = "inet", addr = "127.0.0.1", protocol = "tcp" } } 2 ok 9 dns - Get all local http addresses sync { { socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", protocol = "tcp" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", protocol = "tcp" }, { socktype = "stream", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", protocol = "tcp" }, { socktype = "dgram", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", protocol = "udp" }, { socktype = "stream", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp" }, { socktype = "dgram", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { 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 = 33 } { stat = { blksize = 4096, gid = 1000, nlink = 1, mode = 33188, type = "file", mtime = table: 0xf7d5e000, rdev = 0, dev = 64769, ino = 33885747, atime = table: 0xf7d5fa70, flags = 0, gen = 0, blocks = 16, uid = 1000, size = 6060, ctime = table: 0xf7d5e030, birthtime = table: 0xf7d5e060 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 33 } { stat = { blksize = 4096, gid = 1000, nlink = 1, mode = 33188, type = "file", mtime = table: 0xf7d87820, rdev = 0, dev = 64769, ino = 33885747, atime = table: 0xf7d7bbf0, flags = 0, gen = 0, blocks = 16, uid = 1000, size = 6060, ctime = table: 0xf7d879d0, birthtime = table: 0xf7d87a30 } } { 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 = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7d5c130 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bfree = 17026215, type = 61267, blocks = 214974462, ffree = 50533303, bsize = 4096, files = 54673408, bavail = 6087694 } ok 41 fs - fs.statfs sync { bfree = 17026215, type = 61267, blocks = 214974462, ffree = 50533303, bsize = 4096, files = 54673408, bavail = 6087694 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events = 33, events_waiting = 0, loop_count = 66 } { events = 33, events_waiting = 0, loop_count = 67 } ok 56 metrics - idle time "stdio fd types" { [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 = 1908736, total = 67493289984.0, available = 59474149376.0, constrained = 0.0, free = 59474149376.0 } ok 59 misc - memory size { uptime = 31661909.1 } ok 60 misc - uv.uptime { majflt = 0, msgsnd = 0, nivcsw = 2, minflt = 657, nvcsw = 72, nsignals = 0, nswap = 0, msgrcv = 0, idrss = 0, ixrss = 0, maxrss = 2120, inblock = 0, utime = { sec = 0, usec = 692236 }, oublock = 72, stime = { sec = 0, usec = 49484 }, isrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 1376.0, times = table: 0xf7d5c050, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5c140, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5c320, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5e030, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1587.0, times = table: 0xf7d5e180, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1197.0, times = table: 0xf7d5e1e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200.0, times = table: 0xf7d5e270, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1294.0, times = table: 0xf7d5e2d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d6d000, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5d460, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5d6d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d879d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d7b3e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d79670, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5f7a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d5f860, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d5f9b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d5fa70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d92ef0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d5cb60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d8fac0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199.0, times = table: 0xf7d92110, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1425.0, times = table: 0xf7d6b860, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200.0, times = table: 0xf7d6bb90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d6b560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200.0, times = table: 0xf7d9d8e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200.0, times = table: 0xf7d9f500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200.0, times = table: 0xf7d60ee0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d60f40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d60fa0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2199.0, times = table: 0xf7d61030, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2203.0, times = table: 0xf7d61090, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", internal = false, family = "inet", mac = "\0>¤“Ä", ip = "172.16.21.20" }, { netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", mac = "\0>¤“Ä", ip = "fe80::216:3eff:fea4:93c4" } } "lo" { { netmask = "255.0.0.0", internal = true, family = "inet", mac = "\0\0\0\0\0\0", ip = "127.0.0.1" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", mac = "\0\0\0\0\0\0", ip = "::1" } } ok 64 misc - uv.interface_addresses { 4.03, 6.12, 5.85 } ok 65 misc - uv.loadavg "/usr/bin/lua5.4" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { gid = 1000, shell = "/bin/ash", uid = 1000, username = "buildozer", homedir = "/home/buildozer" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 3.1661909630888e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { sysname = "Linux", machine = "i686", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", release = "5.15.108-0-lts" } ok 73 misc - uv.os_uname os.time 1714266637 uv.gettimeofday 1714266637.000847 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 = 31661910, nsec = 640280196 } nil "realtime" { sec = 31661910, nsec = 640326116 } 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: 0xf7da8b50 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d5a9d0 "timeout" uv_timer_t: 0xf7d59970 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d5ac50 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: 0xf7d5a760, pid = 26377 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7d5a080, pid = 26378 } "exit" uv_process_t: 0xf7d5a080 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7d6f520, pid = 26379 } "exit" uv_process_t: 0xf7d6f520 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7d5a3f0, pid = 26381 } "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, pid = 26384, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7d5cc80, address = { ip = "127.0.0.1", port = 34039, family = "inet" } } { req = uv_connect_t: 0xf7d58f50, client = uv_tcp_t: 0xf7d63a30 } "server on connection" uv_tcp_t: 0xf7d5cc80 "client on connect" uv_tcp_t: 0xf7d63a30 nil "client on shutdown" uv_tcp_t: 0xf7d63a30 nil "client on close" uv_tcp_t: 0xf7d63a30 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7d6d540, address = { ip = "::1", port = 34183, family = "inet6" } } { req = uv_connect_t: 0xf7d643a0, client = uv_tcp_t: 0xf7d60af0 } "server on connection" uv_tcp_t: 0xf7d6d540 "client on connect" uv_tcp_t: 0xf7d60af0 nil "client on shutdown" uv_tcp_t: 0xf7d60af0 nil "client on close" uv_tcp_t: 0xf7d60af0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7d5ce30, address = { ip = "127.0.0.1", port = 40947, family = "inet" } } { socket = uv_tcp_t: 0xf7d616c0, req = uv_write_t: 0xf7d61800 } "client onwrite" uv_tcp_t: 0xf7d616c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7d5cc80, address = { ip = "127.0.0.1", port = 46037, family = "inet" } } { socket = uv_tcp_t: 0xf7d61ea0, req = uv_write_t: 0xf7d61fe0 } "client onwrite" uv_tcp_t: 0xf7d61ea0 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: 0xf7d5cc80, address = { ip = "127.0.0.1", port = 37871, family = "inet" } } { socket = uv_tcp_t: 0xf7d62680, req = uv_write_t: 0xf7d627c0 } "client onwrite" uv_tcp_t: 0xf7d62680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7d6d540, address = { ip = "127.0.0.1", port = 43371, family = "inet" } } { socket = uv_tcp_t: 0xf7d62e60, req = uv_write_t: 0xf7d62fa0 } "client onwrite" uv_tcp_t: 0xf7d62e60 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7d5ce30, address = { ip = "127.0.0.1", port = 39057, family = "inet" } } { socket = uv_tcp_t: 0xf7d63640, req = uv_write_t: 0xf7d63780 } "client onwrite" uv_tcp_t: 0xf7d63640 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7d5cc80, address = { ip = "127.0.0.1", port = 34163, family = "inet" } } { socket = uv_tcp_t: 0xf7d60310, req = uv_write_t: 0xf7d60450 } "client onwrite" uv_tcp_t: 0xf7d60310 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: 0xf5d4bd90 { delay = 100, elapsed = 102 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f91c64 Runing uv_thread_t: 0xf7f91c64 { delay = 100, elapsed = 101 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7d58f30 "closed" uv_timer_t: 0xf7d58f30 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7d58f90 "interval" uv_timer_t: 0xf7d58f90 "interval" uv_timer_t: 0xf7d58f90 "closed" uv_timer_t: 0xf7d58f90 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d659d0 "timeout" uv_timer_t: 0xf7d6fd50 "interval" uv_timer_t: 0xf7d659d0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d65a90 0 "interval" uv_timer_t: 0xf7d65a90 8 "interval" uv_timer_t: 0xf7d65a90 4 "interval" uv_timer_t: 0xf7d65a90 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d64380 0 "interval" uv_timer_t: 0xf7d64380 8 "interval" uv_timer_t: 0xf7d64380 4 "interval" uv_timer_t: 0xf7d64380 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7eb1f40 } { req = 0, client = uv_udp_t: 0xf7d6e550 } "client on send" uv_udp_t: 0xf7d6e550 nil "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "127.0.0.1", port = 33005, family = "inet" } { } "server on close" uv_udp_t: 0xf7eb1f40 "client on close" uv_udp_t: 0xf7d6e550 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d6e550 } { req = 0, client = uv_udp_t: 0xf7eb1f40 } "client on send" uv_udp_t: 0xf7eb1f40 nil "server on recv" uv_udp_t: 0xf7d6e550 "PING" { ip = "127.0.0.1", port = 36792, family = "inet" } { } "server on close" uv_udp_t: 0xf7d6e550 "client on close" uv_udp_t: 0xf7eb1f40 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7eb1f40 } { req = 0, client = uv_udp_t: 0xf7d6e550 } "client on send" uv_udp_t: 0xf7d6e550 nil "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "::1", port = 55468, family = "inet6" } { } "server on close" uv_udp_t: 0xf7eb1f40 "client on close" uv_udp_t: 0xf7d6e550 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: 0xf7eb1f40 } { ip = "127.0.0.1", port = 9123, family = "inet" } "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "127.0.0.1", port = 54151, family = "inet" } { } "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "127.0.0.1", port = 49061, family = "inet" } { } "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "127.0.0.1", port = 49061, family = "inet" } { } "server on recv" uv_udp_t: 0xf7eb1f40 nil nil { } "server on recv" uv_udp_t: 0xf7eb1f40 "PING" { ip = "127.0.0.1", port = 59835, family = "inet" } { } "client on close" uv_udp_t: 0xf7d6e550 "server on close" uv_udp_t: 0xf7eb1f40 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } "PING" { ip = "127.0.0.1", port = 49554, family = "inet" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250.0 2.0 4.0 "uv_thread_t: 0xf7d57d90" "hello" uv_thread_t: 0xf7d57d90 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 hello world from thread 6 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 137 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7f7b160 "closed" uv_timer_t: 0xf7f7b160 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7ed1250 "closed" { } uv_timer_t: 0xf7ed1250 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { family = "inet6", protocol = "tcp", port = 80, socktype = "stream", addr = "::1" }, { family = "inet", protocol = "tcp", port = 80, socktype = "stream", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", addr = "::1", protocol = "tcp", socktype = "stream", port = 80 }, { family = "inet", addr = "127.0.0.1", protocol = "tcp", socktype = "stream", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", canonname = "luvit.io", socktype = "stream", addr = "206.189.225.172", protocol = "tcp" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", socktype = "stream", canonname = "luvit.io" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet", addr = "206.189.225.172", protocol = "udp", canonname = "luvit.io", socktype = "dgram" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", socktype = "stream" }, { family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", canonname = "luvit.io", socktype = "dgram" } } 4 ok 12 dns - Get all adresses for luvit.io { 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 = 33 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 33885747, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7e013c0, mtime = table: 0xf7ea60b8, ctime = table: 0xf7e19488, birthtime = table: 0xf7ea6790, size = 6060, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 33 } { stat = { nlink = 1, type = "file", uid = 1000, gid = 1000, rdev = 0, ino = 33885747, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7e19488, mtime = table: 0xf7de3ca0, ctime = table: 0xf7ea54a0, birthtime = table: 0xf7ea5230, 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 { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7e1ec40 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { files = 54673408, bsize = 4096, blocks = 214974462, bfree = 17026326, type = 61267, ffree = 50533305, bavail = 6087805 } ok 41 fs - fs.statfs sync { bfree = 17026326, files = 54673408, ffree = 50533305, bavail = 6087805, type = 61267, bsize = 4096, 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" { [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 { available = 59226775552, free = 59226775552, rss = 2650112, total = 67493289984, constrained = 0 } ok 59 misc - memory size { uptime = 31661918.18 } ok 60 misc - uv.uptime { oublock = 80, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 67, nivcsw = 1, utime = { sec = 0, usec = 675748 }, stime = { sec = 0, usec = 56186 }, maxrss = 2588, ixrss = 0, idrss = 0, isrss = 0, minflt = 557, majflt = 0, nswap = 0, inblock = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2899, times = table: 0xf7e19488 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2904, times = table: 0xf7def1e0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2967, times = table: 0xf7decc68 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2996, times = table: 0xf7df0f70 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2979, times = table: 0xf7e15118 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2763, times = table: 0xf7def0b8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2900, times = table: 0xf7ea5280 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2958, times = table: 0xf7deeb88 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2709, times = table: 0xf7e19e38 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2864, times = table: 0xf7de8068 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2809, times = table: 0xf7e10528 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2923, times = table: 0xf7ea9d80 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2995, times = table: 0xf7e9b680 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2900, times = table: 0xf7e1b760 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2996, times = table: 0xf7ea2d48 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2900, times = table: 0xf7de57f0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2941, times = table: 0xf7ea47a8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2805, times = table: 0xf7de31d0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2704, times = table: 0xf7ded880 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2862, times = table: 0xf7e1a968 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2962, times = table: 0xf7e19930 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2819, times = table: 0xf7ea60b8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2899, times = table: 0xf7e17100 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2900, times = table: 0xf7dee290 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2965, times = table: 0xf7e04b60 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2719, times = table: 0xf7dee490 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2999, times = table: 0xf7ea2f68 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2999, times = table: 0xf7de75e0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2999, times = table: 0xf7e12490 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 3001, times = table: 0xf7e10058 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 3001, times = table: 0xf7e01978 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2999, times = table: 0xf7e0ece8 } } ok 63 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", internal = false, family = "inet", mac = "\0>¤“Ä", ip = "172.16.21.20" }, { netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", mac = "\0>¤“Ä", ip = "fe80::216:3eff:fea4:93c4" } } "lo" { { netmask = "255.0.0.0", internal = true, family = "inet", mac = "\0\0\0\0\0\0", ip = "127.0.0.1" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", mac = "\0\0\0\0\0\0", ip = "::1" } } ok 64 misc - uv.interface_addresses { 3.95, 6.03, 5.83 } 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 { gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer", username = "buildozer", uid = 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 3.166191867563e+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 = "i686" } ok 73 misc - uv.os_uname os.time 1714266646 uv.gettimeofday 1714266646.000890 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 = 31661919, nsec = 684028047 } nil "realtime" { sec = 31661919, nsec = 684101122 } 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: 0x566cafc0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7f7bfc0 "timeout" uv_timer_t: 0x566ca1c0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7ed1fb0 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: 0x566ca280, pid = 26411 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x566ca2e0, pid = 26412 } "exit" uv_process_t: 0x566ca2e0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x566ca1d0, pid = 26413 } "exit" uv_process_t: 0x566ca1d0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x566ca290, pid = 26415 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 26418, signal = 0, code = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7f7bbe0, address = { family = "inet", ip = "127.0.0.1", port = 41053 } } { req = uv_connect_t: 0xf7de20a0, client = uv_tcp_t: 0x566ca690 } "server on connection" uv_tcp_t: 0xf7f7bbe0 "client on connect" uv_tcp_t: 0x566ca690 nil "client on shutdown" uv_tcp_t: 0x566ca690 nil "client on close" uv_tcp_t: 0x566ca690 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7f7bbf0, address = { family = "inet6", ip = "::1", port = 46825 } } { req = uv_connect_t: 0xf7de20a0, client = uv_tcp_t: 0x566ca6a0 } "server on connection" uv_tcp_t: 0xf7f7bbf0 "client on connect" uv_tcp_t: 0x566ca6a0 nil "client on shutdown" uv_tcp_t: 0x566ca6a0 nil "client on close" uv_tcp_t: 0x566ca6a0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7f7bbe0, address = { family = "inet", ip = "127.0.0.1", port = 37091 } } { socket = uv_tcp_t: 0x566ca690, req = uv_write_t: 0xf7e9bc58 } "client onwrite" uv_tcp_t: 0x566ca690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x566ca6a0, address = { family = "inet", ip = "127.0.0.1", port = 44145 } } { socket = uv_tcp_t: 0xf7f7bbf0, req = uv_write_t: 0xf7e1dff0 } "client onwrite" uv_tcp_t: 0xf7f7bbf0 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: 0x566ca690, address = { family = "inet", ip = "127.0.0.1", port = 39369 } } { socket = uv_tcp_t: 0xf7f7bbf0, req = uv_write_t: 0xf7e9bc58 } "client onwrite" uv_tcp_t: 0xf7f7bbf0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7f7bbe0, address = { family = "inet", ip = "127.0.0.1", port = 37753 } } { socket = uv_tcp_t: 0x566ca6a0, req = uv_write_t: 0xf7e9bc58 } "client onwrite" uv_tcp_t: 0x566ca6a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x566ca690, address = { family = "inet", ip = "127.0.0.1", port = 42289 } } { socket = uv_tcp_t: 0xf7f7bbf0, req = uv_write_t: 0xf7e9bc58 } "client onwrite" uv_tcp_t: 0xf7f7bbf0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x566ca6a0, address = { family = "inet", ip = "127.0.0.1", port = 33105 } } { socket = uv_tcp_t: 0xf7f7bbe0, req = uv_write_t: 0xf7e9bc58 } "client onwrite" uv_tcp_t: 0xf7f7bbe0 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: 0xf5d5ed90 { elapsed = 101, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f7b9b0 Runing uv_thread_t: 0xf7f7b9b0 { 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: 0x566ca2e0 "closed" uv_timer_t: 0x566ca2e0 ok 119 timer - simple timeout "interval" uv_timer_t: 0x566ca1c0 "interval" uv_timer_t: 0x566ca1c0 "interval" uv_timer_t: 0x566ca1c0 "closed" uv_timer_t: 0x566ca1c0 ok 120 timer - simple interval "interval" uv_timer_t: 0x566ca280 "timeout" uv_timer_t: 0x566ca220 "interval" uv_timer_t: 0x566ca280 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x566ca2e0 0 "interval" uv_timer_t: 0x566ca2e0 8 "interval" uv_timer_t: 0x566ca2e0 4 "interval" uv_timer_t: 0x566ca2e0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x566ca1c0 0 "interval" uv_timer_t: 0x566ca1c0 8 "interval" uv_timer_t: 0x566ca1c0 4 "interval" uv_timer_t: 0x566ca1c0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7ed1f20 } { req = 0, client = uv_udp_t: 0x566caf30 } "client on send" uv_udp_t: 0x566caf30 nil "server on recv" uv_udp_t: 0xf7ed1f20 "PING" { family = "inet", ip = "127.0.0.1", port = 38757 } { } "server on close" uv_udp_t: 0xf7ed1f20 "client on close" uv_udp_t: 0x566caf30 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7ed1f20 } { req = 0, client = uv_udp_t: 0x566caf30 } "client on send" uv_udp_t: 0x566caf30 nil "server on recv" uv_udp_t: 0xf7ed1f20 "PING" { family = "inet", ip = "127.0.0.1", port = 47102 } { } "server on close" uv_udp_t: 0xf7ed1f20 "client on close" uv_udp_t: 0x566caf30 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7ed1f20 } { req = 0, client = uv_udp_t: 0x566caf30 } "client on send" uv_udp_t: 0x566caf30 nil "server on recv" uv_udp_t: 0xf7ed1f20 "PING" { family = "inet6", ip = "::1", port = 48127 } { } "server on close" uv_udp_t: 0xf7ed1f20 "client on close" uv_udp_t: 0x566caf30 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: 0x566caf30 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x566caf30 "PING" { family = "inet", ip = "127.0.0.1", port = 42068 } { } "server on recv" uv_udp_t: 0x566caf30 "PING" { family = "inet", ip = "127.0.0.1", port = 46804 } { } "server on recv" uv_udp_t: 0x566caf30 "PING" { family = "inet", ip = "127.0.0.1", port = 46804 } { } "server on recv" uv_udp_t: 0x566caf30 nil nil { } "server on recv" uv_udp_t: 0x566caf30 "PING" { family = "inet", ip = "127.0.0.1", port = 56275 } { } "client on close" uv_udp_t: 0xf7ed1f20 "server on close" uv_udp_t: 0x566caf30 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } "PING" { family = "inet", ip = "127.0.0.1", port = 50507 } 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: 0xf65cfd90" "hello" uv_thread_t: 0xf65cfd90 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 0xf7e748bf ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Entering fakeroot... -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.a -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1.45.0 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/pkgconfig/libluv.pc -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h >>> lua-luv-static*: Running split function static... >>> lua-luv-static*: Preparing subpackage lua-luv-static... >>> lua-luv-static*: Stripping binaries >>> lua-luv-static*: Running postcheck for lua-luv-static >>> lua-luv-dev*: Running split function dev... >>> lua-luv-dev*: Preparing subpackage lua-luv-dev... >>> lua-luv-dev*: Stripping binaries >>> lua-luv-dev*: Running postcheck for lua-luv-dev >>> libluv*: Running split function libluv... '/home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr' -> '/home/buildozer/aports/community/lua-luv/pkg/libluv/usr' >>> libluv*: Preparing subpackage libluv... >>> libluv*: Stripping binaries >>> libluv*: Running postcheck for libluv >>> lua5.1-luv*: Running split function _subpackage... >>> lua5.1-luv*: Preparing subpackage lua5.1-luv... >>> lua5.1-luv*: Stripping binaries >>> lua5.1-luv*: Running postcheck for lua5.1-luv >>> lua5.4-luv*: Running split function _subpackage... >>> lua5.4-luv*: Preparing subpackage lua5.4-luv... >>> lua5.4-luv*: Stripping binaries >>> lua5.4-luv*: Running postcheck for lua5.4-luv >>> lua-luv*: Running postcheck for lua-luv >>> lua-luv*: Preparing package lua-luv... >>> lua-luv*: Stripping binaries >>> WARNING: lua-luv*: No arch specific binaries found so arch should probably be set to "noarch" >>> libluv*: Scanning shared objects >>> lua-luv-dev*: Scanning shared objects >>> lua-luv-static*: Scanning shared objects >>> lua-luv*: Scanning shared objects >>> lua5.1-luv*: Scanning shared objects >>> lua5.4-luv*: Scanning shared objects >>> libluv*: Tracing dependencies... so:libc.musl-x86.so.1 so:libuv.so.1 >>> libluv*: Package size: 156.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: 212.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.45.0.0-r0.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.45.0.0-r0.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 184.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.45.0.0-r0.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 184.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.45.0.0-r0.apk >>> lua-luv: Build complete at Sun, 28 Apr 2024 01:10:53 +0000 elapsed time 0h 1m 6s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20240428.011005) (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-r26.trigger OK: 376 MiB in 102 packages >>> lua-luv: Updating the community/x86 repository index... >>> lua-luv: Signing the index...