>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.14.1-r1) started Sun, 10 Nov 2024 08:48:16 +0000 >>> lua-luv: Validating /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/16) Installing libbz2 (1.0.8-r6) (2/16) Installing xz-libs (5.6.3-r0) (3/16) Installing libarchive (3.7.7-r0) (4/16) Installing rhash-libs (1.4.5-r0) (5/16) Installing libuv (1.49.2-r0) (6/16) Installing cmake (3.30.5-r0) (7/16) Installing libuv-dev (1.49.2-r0) (8/16) Installing lua-compat53-dev (0.13-r0) (9/16) Installing samurai (1.2-r6) (10/16) Installing luajit (2.1_p20240314-r0) (11/16) Installing luajit-dev (2.1_p20240314-r0) (12/16) Installing lua5.1-libs (5.1.5-r13) (13/16) Installing lua5.1 (5.1.5-r13) (14/16) Installing lua5.1-dev (5.1.5-r13) (15/16) Installing lua5.4-dev (5.4.7-r0) (16/16) Installing .makedepends-lua-luv (20241110.084823) Executing busybox-1.37.0-r6.trigger OK: 370 MiB in 117 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.21/lua-luv-1.45.0-0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/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.21/lua-luv-1.45.0-0.tar.gz.part' saved >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/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.21/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 14.2.0 -- 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 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 14.2.0 -- 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.7") -- 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 14.2.0 -- 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] 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 14.2.0 -- 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 shared module luv.so [4/4] Linking C static library libluv.a >>> lua-luv: Running tests with lua5.1 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf77b2bb0 "closed" uv_timer_t: 0xf77b2bb0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf77b2c10 "closed" { } uv_timer_t: 0xf77b2c10 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 = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for 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" }, { 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" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-3-21-armhf.local" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "build-3-21-armhf.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 47 } { stat = { nlink = 1, ino = 70838509, mtime = table: 0xf77c49d0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf77c4970, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf77c4a00, birthtime = table: 0xf77c4a60, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 47 } { stat = { nlink = 1, ino = 70838509, mtime = table: 0xf77a9ea0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf77a9e70, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf77a9ed0, birthtime = table: 0xf77a9f00, 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 = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } uv_dir_t: 0xf77f1ba8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", 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 = 34920452, type = 61267, bsize = 4096, files = 116916224, bfree = 58307690, ffree = 104508434, blocks = 460041184 } ok 41 fs - fs.statfs sync { bavail = 34920452, type = 61267, bsize = 4096, files = 116916224, bfree = 58307690, ffree = 104508434, blocks = 460041184 } 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 = 78082, version_string = "1.49.2" } ok 58 misc - uv.version and uv.version_string { rss = 1650688, total = 269265448960, free = 247301521408, constrained = 9.2233720368548e+18, available = 247301521408 } ok 59 misc - memory size { uptime = 12702973.52 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 374346, sec = 0 }, oublock = 72, stime = { usec = 280741, sec = 0 }, nivcsw = 28, minflt = 692, idrss = 0, majflt = 0, nvcsw = 61, isrss = 0, nswap = 0, maxrss = 2028, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { speed = 0, times = table: 0xf77c4880, model = "unknown" }, { speed = 0, times = table: 0xf77c4a00, model = "unknown" }, { speed = 0, times = table: 0xf77c53c0, model = "unknown" }, { speed = 0, times = table: 0xf77c5480, model = "unknown" }, { speed = 0, times = table: 0xf77c5540, model = "unknown" }, { speed = 0, times = table: 0xf77c5630, model = "unknown" }, { speed = 0, times = table: 0xf77a7470, model = "unknown" }, { speed = 0, times = table: 0xf77a7590, model = "unknown" }, { speed = 0, times = table: 0xf77a77a0, model = "unknown" }, { speed = 0, times = table: 0xf77c24b0, model = "unknown" }, { speed = 0, times = table: 0xf77c25d0, model = "unknown" }, { speed = 0, times = table: 0xf77c26f0, model = "unknown" }, { speed = 0, times = table: 0xf77aaf80, model = "unknown" }, { speed = 0, times = table: 0xf77ab190, model = "unknown" }, { speed = 0, times = table: 0xf77ab250, model = "unknown" }, { speed = 0, times = table: 0xf77aa860, model = "unknown" }, { speed = 0, times = table: 0xf77aaa40, model = "unknown" }, { speed = 0, times = table: 0xf77c3fb0, model = "unknown" }, { speed = 0, times = table: 0xf77c4160, model = "unknown" }, { speed = 0, times = table: 0xf77c4220, model = "unknown" }, { speed = 0, times = table: 0xf77c2030, model = "unknown" }, { speed = 0, times = table: 0xf77c2180, model = "unknown" }, { speed = 0, times = table: 0xf77c22d0, model = "unknown" }, { speed = 0, times = table: 0xf77fc520, model = "unknown" }, { speed = 0, times = table: 0xf77fc700, model = "unknown" }, { speed = 0, times = table: 0xf77d1500, model = "unknown" }, { speed = 0, times = table: 0xf77a80a0, model = "unknown" }, { speed = 0, times = table: 0xf77a81f0, model = "unknown" }, { speed = 0, times = table: 0xf77a8340, model = "unknown" }, { speed = 0, times = table: 0xf77c3800, model = "unknown" }, { speed = 0, times = table: 0xf77c38f0, model = "unknown" }, { speed = 0, times = table: 0xf77c39b0, model = "unknown" }, { speed = 0, times = table: 0xf77c33e0, model = "unknown" }, { speed = 0, times = table: 0xf77c3500, model = "unknown" }, { speed = 0, times = table: 0xf77c36b0, model = "unknown" }, { speed = 0, times = table: 0xf77a9c60, model = "unknown" }, { speed = 0, times = table: 0xf77a9d80, model = "unknown" }, { speed = 0, times = table: 0xf77a9e40, model = "unknown" }, { speed = 0, times = table: 0xf77a9f00, model = "unknown" }, { speed = 0, times = table: 0xf77aa020, model = "unknown" }, { speed = 0, times = table: 0xf77aa170, model = "unknown" }, { speed = 0, times = table: 0xf77aa2c0, model = "unknown" }, { speed = 0, times = table: 0xf77c5840, model = "unknown" }, { speed = 0, times = table: 0xf77f2be0, model = "unknown" }, { speed = 0, times = table: 0xf77f2df0, model = "unknown" }, { speed = 0, times = table: 0xf77c6680, model = "unknown" }, { speed = 0, times = table: 0xf77c6890, model = "unknown" }, { speed = 0, times = table: 0xf77c69e0, model = "unknown" }, { speed = 0, times = table: 0xf77d4bf0, model = "unknown" }, { speed = 0, times = table: 0xf77d4e30, model = "unknown" }, { speed = 0, times = table: 0xf77e61e0, model = "unknown" }, { speed = 0, times = table: 0xf77e6330, model = "unknown" }, { speed = 0, times = table: 0xf77e5a60, model = "unknown" }, { speed = 0, times = table: 0xf77a7c20, model = "unknown" }, { speed = 0, times = table: 0xf77e7b60, model = "unknown" }, { speed = 0, times = table: 0xf77e7e30, model = "unknown" }, { speed = 0, times = table: 0xf77e5c70, model = "unknown" }, { speed = 0, times = table: 0xf77e5ee0, model = "unknown" }, { speed = 0, times = table: 0xf77f3db0, model = "unknown" }, { speed = 0, times = table: 0xf77c01a0, model = "unknown" }, { speed = 0, times = table: 0xf77c77f0, model = "unknown" }, { speed = 0, times = table: 0xf77c7940, model = "unknown" }, { speed = 0, times = table: 0xf77d2d30, model = "unknown" }, { speed = 0, times = table: 0xf77d2eb0, model = "unknown" }, { speed = 0, times = table: 0xf77fc940, model = "unknown" }, { speed = 0, times = table: 0xf77fea10, model = "unknown" }, { speed = 0, times = table: 0xf77d48c0, model = "unknown" }, { speed = 0, times = table: 0xf77f1980, model = "unknown" }, { speed = 0, times = table: 0xf77f1ad0, model = "unknown" }, { speed = 0, times = table: 0xf7805cb0, model = "unknown" }, { speed = 0, times = table: 0xf77a8fd0, model = "unknown" }, { speed = 0, times = table: 0xf77a9210, model = "unknown" }, { speed = 0, times = table: 0xf77ab310, model = "unknown" }, { speed = 0, times = table: 0xf77ab3d0, model = "unknown" }, { speed = 0, times = table: 0xf77ab4c0, model = "unknown" }, { speed = 0, times = table: 0xf77d3c60, model = "unknown" }, { speed = 0, times = table: 0xf77d3e10, model = "unknown" }, { speed = 0, times = table: 0xf77e7380, model = "unknown" }, { speed = 0, times = table: 0xf77c7b80, model = "unknown" }, { speed = 0, times = table: 0xf77c4850, model = "unknown" } } 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.27.143" }, { mac = "\0>§`", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "2a02:168:a077:701:216:3eff:fe02:a760" }, { mac = "\0>§`", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe02:a760" } } ok 64 misc - uv.interface_addresses { 14.21, 14.82, 15.25 } ok 65 misc - uv.loadavg "/usr/bin/lua5.1" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/sh" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.2702973534134e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.90-0-lts", machine = "armv8l", version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1731228520 uv.gettimeofday 1731228520.000373 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 = 540323537, sec = 12702974 } nil "realtime" { nsec = 540342497, sec = 12702974 } 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: 0xf77c6c70 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf77b3950 "timeout" uv_timer_t: 0xf77b2f70 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf77b3cd0 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: 0xf77b4800, pid = 40617 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf77b4e90, pid = 40618 } "exit" uv_process_t: 0xf77b4e90 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf77cfcb0, pid = 40619 } "exit" uv_process_t: 0xf77cfcb0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf77b1250, pid = 40621 } "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 = 40623, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 35911, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf77e30a0 } { req = uv_connect_t: 0xf77b2108, client = uv_tcp_t: 0xf77e31c0 } "server on connection" uv_tcp_t: 0xf77e30a0 "client on connect" uv_tcp_t: 0xf77e31c0 nil "client on shutdown" uv_tcp_t: 0xf77e31c0 nil "client on close" uv_tcp_t: 0xf77e31c0 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 45443, ip = "::1" }, server = uv_tcp_t: 0xf77e37f0 } { req = uv_connect_t: 0xf77b4868, client = uv_tcp_t: 0xf7800010 } "server on connection" uv_tcp_t: 0xf77e37f0 "client on connect" uv_tcp_t: 0xf7800010 nil "client on shutdown" uv_tcp_t: 0xf7800010 nil "client on close" uv_tcp_t: 0xf7800010 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 35983, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7800760 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf7800b50 } "client onwrite" uv_tcp_t: 0xf7800b50 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 43671, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7803250 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf7803640 } "client onwrite" uv_tcp_t: 0xf7803640 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 = 38229, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7802250 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf7802640 } "client onwrite" uv_tcp_t: 0xf7802640 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 38045, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7802910 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf77eae20 } "client onwrite" uv_tcp_t: 0xf77eae20 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 37143, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf77a4250 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf77a4400 } "client onwrite" uv_tcp_t: 0xf77a4400 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 32771, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf77a46d0 } { req = uv_write_t: 0xf77fcec8, socket = uv_tcp_t: 0xf77a4880 } "client onwrite" uv_tcp_t: 0xf77a4880 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: 0xf5787d84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7940f34 Runing uv_thread_t: 0xf7940f34 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 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: 0xf77b2df0 "closed" uv_timer_t: 0xf77b2df0 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf77b2e50 "interval" uv_timer_t: 0xf77b2e50 "interval" uv_timer_t: 0xf77b2e50 "closed" uv_timer_t: 0xf77b2e50 ok 120 timer - simple interval "interval" uv_timer_t: 0xf77b2f10 "timeout" uv_timer_t: 0xf77b2eb0 "interval" uv_timer_t: 0xf77b2f10 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf77b2f70 0 "interval" uv_timer_t: 0xf77b2f70 8 "interval" uv_timer_t: 0xf77b2f70 4 "interval" uv_timer_t: 0xf77b2f70 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf77c0980 0 "interval" uv_timer_t: 0xf77c0980 8 "interval" uv_timer_t: 0xf77c0980 4 "interval" uv_timer_t: 0xf77c0980 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf77acea0 } { req = 0, client = uv_udp_t: 0xf77acfa0 } "client on send" uv_udp_t: 0xf77acfa0 nil "server on recv" uv_udp_t: 0xf77acea0 "PING" { family = "inet", port = 57809, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf77acea0 "client on close" uv_udp_t: 0xf77acfa0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf77ad290 } { req = 0, client = uv_udp_t: 0xf77ad390 } "client on send" uv_udp_t: 0xf77ad390 nil "server on recv" uv_udp_t: 0xf77ad290 "PING" { family = "inet", port = 47151, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf77ad290 "client on close" uv_udp_t: 0xf77ad390 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf77ad680 } { req = 0, client = uv_udp_t: 0xf77ad780 } "client on send" uv_udp_t: 0xf77ad780 nil "server on recv" uv_udp_t: 0xf77ad680 "PING" { family = "inet6", port = 37013, ip = "::1" } { } "server on close" uv_udp_t: 0xf77ad680 "client on close" uv_udp_t: 0xf77ad780 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: 0xf77ae250 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf77ae250 "PING" { family = "inet", port = 45812, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf77ae250 "PING" { family = "inet", port = 40049, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf77ae250 "PING" { family = "inet", port = 40049, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf77ae250 nil nil { } "server on recv" uv_udp_t: 0xf77ae250 "PING" { family = "inet", port = 58031, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf77ae2d0 "server on close" uv_udp_t: 0xf77ae250 ok 130 udp - udp connect "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, ip = "127.0.0.1" } "PING" { family = "inet", port = 50511, 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: 0xf5f8ad84" "hello" uv_thread_t: 0xf5f8ad84 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: 0xf7c233c0 "closed" uv_timer_t: 0xf7c233c0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7c23420 "closed" { } uv_timer_t: 0xf7c23420 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { addr = "::1", family = "inet6", protocol = "tcp", port = 80, socktype = "stream" }, { addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", family = "inet6", protocol = "tcp", port = 80, socktype = "stream" }, { addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses sync { { canonname = "luvit.io", addr = "206.189.225.172", family = "inet", protocol = "tcp", socktype = "stream" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "tcp", socktype = "stream" }, { canonname = "luvit.io", addr = "206.189.225.172", family = "inet", protocol = "tcp", socktype = "stream" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "tcp", socktype = "stream" }, { canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "udp", socktype = "dgram" }, { canonname = "luvit.io", addr = "206.189.225.172", family = "inet", protocol = "tcp", socktype = "stream" }, { canonname = "luvit.io", addr = "206.189.225.172", family = "inet", protocol = "udp", 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 { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-3-21-armhf.local" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "build-3-21-armhf.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 47 } { stat = { mtime = table: 0xf7c2c060, gid = 1000, blocks = 16, mode = 33188, size = 6060, uid = 1000, dev = 64769, type = "file", ctime = table: 0xf7c2c150, birthtime = table: 0xf7c2c330, atime = table: 0xf7c2bfa0, ino = 70838509, flags = 0, nlink = 1, blksize = 4096, gen = 0, rdev = 0 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 47 } { stat = { mtime = table: 0xf7c2f4e0, gid = 1000, blocks = 16, mode = 33188, size = 6060, uid = 1000, dev = 64769, type = "file", ctime = table: 0xf7c2f510, birthtime = table: 0xf7c2f540, atime = table: 0xf7c2f4b0, ino = 70838509, flags = 0, nlink = 1, blksize = 4096, gen = 0, rdev = 0 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } uv_dir_t: 0xf7c48aa8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { blocks = 460041184, bavail = 34920443, type = 61267, ffree = 104508434, bfree = 58307681, bsize = 4096, files = 116916224 } ok 41 fs - fs.statfs sync { blocks = 460041184, bavail = 34920443, type = 61267, ffree = 104508434, bfree = 58307681, bsize = 4096, files = 116916224 } 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 { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 78082, version_string = "1.49.2" } ok 58 misc - uv.version and uv.version_string { constrained = 9.2233720368548e+18, free = 247306022912.0, rss = 1687552, available = 247306022912.0, total = 269265448960.0 } ok 59 misc - memory size { uptime = 12702981.94 } ok 60 misc - uv.uptime { nsignals = 0, inblock = 0, msgrcv = 0, idrss = 0, nswap = 0, majflt = 0, msgsnd = 0, stime = { sec = 0, usec = 275299 }, oublock = 72, utime = { sec = 0, usec = 363225 }, ixrss = 0, nvcsw = 64, isrss = 0, maxrss = 1924, minflt = 635, nivcsw = 41 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { speed = 0.0, times = table: 0xf7c2d620, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2c3c0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2c510, model = "unknown" }, { speed = 0.0, times = table: 0xf7c38920, model = "unknown" }, { speed = 0.0, times = table: 0xf7c64430, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f7b0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f8d0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f990, model = "unknown" }, { speed = 0.0, times = table: 0xf7c6d640, model = "unknown" }, { speed = 0.0, times = table: 0xf7c3a0f0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2bfa0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2c150, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f2d0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f4b0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f510, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f570, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2f630, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2cc00, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2e520, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2e580, model = "unknown" }, { speed = 0.0, times = table: 0xf7c4aab0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c640a0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30e60, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30ec0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30f20, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30f80, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30fe0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31040, model = "unknown" }, { speed = 0.0, times = table: 0xf7c310a0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31100, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31160, model = "unknown" }, { speed = 0.0, times = table: 0xf7c311c0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31250, model = "unknown" }, { speed = 0.0, times = table: 0xf7c312b0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31310, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31370, model = "unknown" }, { speed = 0.0, times = table: 0xf7c313d0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31430, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31490, model = "unknown" }, { speed = 0.0, times = table: 0xf7c314f0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31550, model = "unknown" }, { speed = 0.0, times = table: 0xf7c315b0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31640, model = "unknown" }, { speed = 0.0, times = table: 0xf7c316a0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31700, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31760, model = "unknown" }, { speed = 0.0, times = table: 0xf7c317c0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31820, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31880, model = "unknown" }, { speed = 0.0, times = table: 0xf7c318e0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31940, model = "unknown" }, { speed = 0.0, times = table: 0xf7c319a0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31a30, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31a90, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31af0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31b50, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31bb0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31c10, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31c70, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31cd0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31d30, model = "unknown" }, { speed = 0.0, times = table: 0xf7c31d90, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2fea0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2ff00, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2ff60, model = "unknown" }, { speed = 0.0, times = table: 0xf7c2ffc0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30020, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30080, model = "unknown" }, { speed = 0.0, times = table: 0xf7c300e0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30140, model = "unknown" }, { speed = 0.0, times = table: 0xf7c301a0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30200, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30290, model = "unknown" }, { speed = 0.0, times = table: 0xf7c302f0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30350, model = "unknown" }, { speed = 0.0, times = table: 0xf7c303b0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30410, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30470, model = "unknown" }, { speed = 0.0, times = table: 0xf7c304d0, model = "unknown" }, { speed = 0.0, times = table: 0xf7c30530, model = "unknown" } } ok 63 misc - uv.cpu_info "lo" { { netmask = "255.0.0.0", family = "inet", mac = "\0\0\0\0\0\0", ip = "127.0.0.1", internal = true }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", mac = "\0\0\0\0\0\0", ip = "::1", internal = true } } "eth0" { { netmask = "255.255.255.0", family = "inet", mac = "\0>§`", ip = "172.16.27.143", internal = false }, { netmask = "ffff:ffff:ffff:ffff::", family = "inet6", mac = "\0>§`", ip = "2a02:168:a077:701:216:3eff:fe02:a760", internal = false }, { netmask = "ffff:ffff:ffff:ffff::", family = "inet6", mac = "\0>§`", ip = "fe80::216:3eff:fe02:a760", internal = false } } ok 64 misc - uv.interface_addresses { 13.95, 14.75, 15.22 } 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 { username = "buildozer", homedir = "/home/buildozer", gid = 1000, uid = 1000, shell = "/bin/sh" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.2702981955391e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000", sysname = "Linux", release = "6.1.90-0-lts", machine = "armv8l" } ok 73 misc - uv.os_uname os.time 1731228528 uv.gettimeofday 1731228528.000794 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 = 12702982, nsec = 958990138 } nil "realtime" { sec = 12702982, nsec = 959007778 } 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: 0xf7c289d0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7c28bd0 "timeout" uv_timer_t: 0xf7c23600 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7c28ed0 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 40636, handle = uv_process_t: 0xf7c238e0 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { pid = 40637, handle = uv_process_t: 0xf7c23d90 } "exit" uv_process_t: 0xf7c23d90 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { pid = 40638, handle = uv_process_t: 0xf7c27320 } "exit" uv_process_t: 0xf7c27320 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 40640, handle = uv_process_t: 0xf7c23b60 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { code = 0, signal = 0, pid = 40642 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7c22930, address = { ip = "127.0.0.1", port = 41441, family = "inet" } } { req = uv_connect_t: 0xf7c351c8, client = uv_tcp_t: 0xf7c22b70 } "server on connection" uv_tcp_t: 0xf7c22930 "client on connect" uv_tcp_t: 0xf7c22b70 nil "client on shutdown" uv_tcp_t: 0xf7c22b70 nil "client on close" uv_tcp_t: 0xf7c22b70 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7c34860, address = { ip = "::1", port = 44871, family = "inet6" } } { req = uv_connect_t: 0xf7c220a8, client = uv_tcp_t: 0xf7c3aff0 } "server on connection" uv_tcp_t: 0xf7c34860 "client on connect" uv_tcp_t: 0xf7c3aff0 nil "client on shutdown" uv_tcp_t: 0xf7c3aff0 nil "client on close" uv_tcp_t: 0xf7c3aff0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7c22d20, address = { ip = "127.0.0.1", port = 36899, family = "inet" } } { socket = uv_tcp_t: 0xf7c22ed0, req = uv_write_t: 0xf7c34888 } "client onwrite" uv_tcp_t: 0xf7c22ed0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7c22c90, address = { ip = "127.0.0.1", port = 41583, family = "inet" } } { socket = uv_tcp_t: 0xf7c3aff0, req = uv_write_t: 0xf7c34888 } "client onwrite" uv_tcp_t: 0xf7c3aff0 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: 0xf7c34860, address = { ip = "127.0.0.1", port = 34345, family = "inet" } } { socket = uv_tcp_t: 0xf7c3aff0, req = uv_write_t: 0xf7c22958 } "client onwrite" uv_tcp_t: 0xf7c3aff0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7c347d0, address = { ip = "127.0.0.1", port = 45773, family = "inet" } } { socket = uv_tcp_t: 0xf7c34c50, req = uv_write_t: 0xf7c228c8 } "client onwrite" uv_tcp_t: 0xf7c34c50 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7c22ed0, address = { ip = "127.0.0.1", port = 33913, family = "inet" } } { socket = uv_tcp_t: 0xf7c34860, req = uv_write_t: 0xf7c3b018 } "client onwrite" uv_tcp_t: 0xf7c34860 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7c22e40, address = { ip = "127.0.0.1", port = 36329, family = "inet" } } { socket = uv_tcp_t: 0xf7c34860, req = uv_write_t: 0xf7c3b018 } "client onwrite" uv_tcp_t: 0xf7c34860 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: 0xf5c11d84 { elapsed = 101, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7e38f34 Runing uv_thread_t: 0xf7e38f34 { elapsed = 101, 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: 0xf7c222c0 "closed" uv_timer_t: 0xf7c222c0 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7c22320 "interval" uv_timer_t: 0xf7c22320 "interval" uv_timer_t: 0xf7c22320 "closed" uv_timer_t: 0xf7c22320 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7c233c0 "timeout" uv_timer_t: 0xf7c23360 "interval" uv_timer_t: 0xf7c233c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7c23420 0 "interval" uv_timer_t: 0xf7c23420 8 "interval" uv_timer_t: 0xf7c23420 4 "interval" uv_timer_t: 0xf7c23420 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7c23480 0 "interval" uv_timer_t: 0xf7c23480 8 "interval" uv_timer_t: 0xf7c23480 4 "interval" uv_timer_t: 0xf7c23480 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xb75f40 } { req = 0, client = uv_udp_t: 0xf7c2b550 } "client on send" uv_udp_t: 0xf7c2b550 nil "server on recv" uv_udp_t: 0xb75f40 "PING" { ip = "127.0.0.1", port = 35129, family = "inet" } { } "server on close" uv_udp_t: 0xb75f40 "client on close" uv_udp_t: 0xf7c2b550 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7c2b5d0 } { req = 0, client = uv_udp_t: 0xf7c2b650 } "client on send" uv_udp_t: 0xf7c2b650 nil "server on recv" uv_udp_t: 0xf7c2b5d0 "PING" { ip = "127.0.0.1", port = 32824, family = "inet" } { } "server on close" uv_udp_t: 0xf7c2b5d0 "client on close" uv_udp_t: 0xf7c2b650 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7c2b550 } { req = 0, client = uv_udp_t: 0xf7c2b6d0 } "client on send" uv_udp_t: 0xf7c2b6d0 nil "server on recv" uv_udp_t: 0xf7c2b550 "PING" { ip = "::1", port = 42883, family = "inet6" } { } "server on close" uv_udp_t: 0xf7c2b550 "client on close" uv_udp_t: 0xf7c2b6d0 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: 0xf7c2b550 } { ip = "127.0.0.1", port = 9123, family = "inet" } "server on recv" uv_udp_t: 0xf7c2b550 "PING" { ip = "127.0.0.1", port = 38101, family = "inet" } { } "server on recv" uv_udp_t: 0xf7c2b550 "PING" { ip = "127.0.0.1", port = 36209, family = "inet" } { } "server on recv" uv_udp_t: 0xf7c2b550 "PING" { ip = "127.0.0.1", port = 36209, family = "inet" } { } "server on recv" uv_udp_t: 0xf7c2b550 nil nil { } "server on recv" uv_udp_t: 0xf7c2b550 "PING" { ip = "127.0.0.1", port = 46325, family = "inet" } { } "client on close" uv_udp_t: 0xf7c2b650 "server on close" uv_udp_t: 0xf7c2b550 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, family = "inet" } "PING" { ip = "127.0.0.1", port = 52052, 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: 0xf6414d84" "hello" uv_thread_t: 0xf6414d84 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: 0xf7e06c80 "closed" uv_timer_t: 0xf7e06c80 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7e06680 "closed" { } uv_timer_t: 0xf7e06680 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", family = "inet6", addr = "::1", port = 80, protocol = "tcp" }, { socktype = "stream", family = "inet", addr = "127.0.0.1", port = 80, protocol = "tcp" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", canonname = "luvit.io", protocol = "tcp" }, { socktype = "stream", family = "inet", addr = "206.189.225.172", canonname = "luvit.io", protocol = "tcp" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { socktype = "stream", canonname = "luvit.io", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp" }, { socktype = "dgram", canonname = "luvit.io", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp" }, { socktype = "stream", canonname = "luvit.io", family = "inet", addr = "206.189.225.172", protocol = "tcp" }, { socktype = "dgram", canonname = "luvit.io", family = "inet", addr = "206.189.225.172", 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 = "build-3-21-armhf.local", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "build-3-21-armhf.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 47 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 70838509, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7d56b60, mtime = table: 0xf7d6dbf8, size = 6060, birthtime = table: 0xf7d4c728, type = "file", ctime = table: 0xf7d6ba00 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 47 } { stat = { atime = table: 0xf7d6ba00, mtime = table: 0xf7df9e48, ctime = table: 0xf7d55ec0, birthtime = table: 0xf7d806d8, type = "file", size = 6060, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 70838509, blksize = 4096, blocks = 16, flags = 0, gen = 0 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } uv_dir_t: 0xf7d4ccc8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { blocks = 460041184, bfree = 58307672, files = 116916224, bavail = 34920434, ffree = 104508434, bsize = 4096, type = 61267 } ok 41 fs - fs.statfs sync { bavail = 34920434, bsize = 4096, blocks = 460041184, bfree = 58307672, files = 116916224, ffree = 104508434, type = 61267 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.49.2", version = 78082 } ok 58 misc - uv.version and uv.version_string { total = 269265448960, constrained = 9.2233720368548e+18, available = 247305547776, free = 247305547776, rss = 2191360 } ok 59 misc - memory size { uptime = 12702990.35 } ok 60 misc - uv.uptime { nsignals = 0, nvcsw = 62, nivcsw = 3, utime = { sec = 0, usec = 322897 }, stime = { sec = 0, usec = 325156 }, maxrss = 2140, ixrss = 0, idrss = 0, isrss = 0, minflt = 446, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf7d7f840, speed = 0, model = "unknown" }, { times = table: 0xf7d6cb20, speed = 0, model = "unknown" }, { times = table: 0xf7df5688, speed = 0, model = "unknown" }, { times = table: 0xf7d81cf8, speed = 0, model = "unknown" }, { times = table: 0xf7d87898, speed = 0, model = "unknown" }, { times = table: 0xf7d570b8, speed = 0, model = "unknown" }, { times = table: 0xf7d6aaa8, speed = 0, model = "unknown" }, { times = table: 0xf7d876e0, speed = 0, model = "unknown" }, { times = table: 0xf7d6cfd8, speed = 0, model = "unknown" }, { times = table: 0xf7d6dbf8, speed = 0, model = "unknown" }, { times = table: 0xf7df9e48, speed = 0, model = "unknown" }, { times = table: 0xf7d59150, speed = 0, model = "unknown" }, { times = table: 0xf7dde118, speed = 0, model = "unknown" }, { times = table: 0xf7d6cc58, speed = 0, model = "unknown" }, { times = table: 0xf7d56588, speed = 0, model = "unknown" }, { times = table: 0xf7d791f8, speed = 0, model = "unknown" }, { times = table: 0xf7d731d8, speed = 0, model = "unknown" }, { times = table: 0xf7d806d8, speed = 0, model = "unknown" }, { times = table: 0xf7d591a0, speed = 0, model = "unknown" }, { times = table: 0xf7d81aa8, speed = 0, model = "unknown" }, { times = table: 0xf7d5e5a0, speed = 0, model = "unknown" }, { times = table: 0xf7d54be0, speed = 0, model = "unknown" }, { times = table: 0xf7d5bc18, speed = 0, model = "unknown" }, { times = table: 0xf7d57c18, speed = 0, model = "unknown" }, { times = table: 0xf7d4ef88, speed = 0, model = "unknown" }, { times = table: 0xf7d70e10, speed = 0, model = "unknown" }, { times = table: 0xf7d82260, speed = 0, model = "unknown" }, { times = table: 0xf7d730c0, speed = 0, model = "unknown" }, { times = table: 0xf7d6ec60, speed = 0, model = "unknown" }, { times = table: 0xf7df8060, speed = 0, model = "unknown" }, { times = table: 0xf7dfa760, speed = 0, model = "unknown" }, { times = table: 0xf7d70a00, speed = 0, model = "unknown" }, { times = table: 0xf7d71818, speed = 0, model = "unknown" }, { times = table: 0xf7d6c418, speed = 0, model = "unknown" }, { times = table: 0xf7d4ce00, speed = 0, model = "unknown" }, { times = table: 0xf7d85130, speed = 0, model = "unknown" }, { times = table: 0xf7d53f60, speed = 0, model = "unknown" }, { times = table: 0xf7d85e60, speed = 0, model = "unknown" }, { times = table: 0xf7d4bb80, speed = 0, model = "unknown" }, { times = table: 0xf7d853c0, speed = 0, model = "unknown" }, { times = table: 0xf7d80228, speed = 0, model = "unknown" }, { times = table: 0xf7d4c048, speed = 0, model = "unknown" }, { times = table: 0xf7d811e8, speed = 0, model = "unknown" }, { times = table: 0xf7d7e1a0, speed = 0, model = "unknown" }, { times = table: 0xf7d58ea8, speed = 0, model = "unknown" }, { times = table: 0xf7d50cd0, speed = 0, model = "unknown" }, { times = table: 0xf7d724b8, speed = 0, model = "unknown" }, { times = table: 0xf7d72570, speed = 0, model = "unknown" }, { times = table: 0xf7d704d8, speed = 0, model = "unknown" }, { times = table: 0xf7d70658, speed = 0, model = "unknown" }, { times = table: 0xf7d73ad8, speed = 0, model = "unknown" }, { times = table: 0xf7d73c58, speed = 0, model = "unknown" }, { times = table: 0xf7d71c18, speed = 0, model = "unknown" }, { times = table: 0xf7d71d98, speed = 0, model = "unknown" }, { times = table: 0xf7de3570, speed = 0, model = "unknown" }, { times = table: 0xf7de36f0, speed = 0, model = "unknown" }, { times = table: 0xf7d78ef8, speed = 0, model = "unknown" }, { times = table: 0xf7d79078, speed = 0, model = "unknown" }, { times = table: 0xf7d84120, speed = 0, model = "unknown" }, { times = table: 0xf7d842a0, speed = 0, model = "unknown" }, { times = table: 0xf7de5a50, speed = 0, model = "unknown" }, { times = table: 0xf7de5bd0, speed = 0, model = "unknown" }, { times = table: 0xf7d6f4e0, speed = 0, model = "unknown" }, { times = table: 0xf7d6f660, speed = 0, model = "unknown" }, { times = table: 0xf7d80888, speed = 0, model = "unknown" }, { times = table: 0xf7d80a08, speed = 0, model = "unknown" }, { times = table: 0xf7d4bdb0, speed = 0, model = "unknown" }, { times = table: 0xf7df5d20, speed = 0, model = "unknown" }, { times = table: 0xf7df5ea0, speed = 0, model = "unknown" }, { times = table: 0xf7d75ca0, speed = 0, model = "unknown" }, { times = table: 0xf7d75e20, speed = 0, model = "unknown" }, { times = table: 0xf7d83b50, speed = 0, model = "unknown" }, { times = table: 0xf7d83cd0, speed = 0, model = "unknown" }, { times = table: 0xf7d6dfb0, speed = 0, model = "unknown" }, { times = table: 0xf7d6e130, speed = 0, model = "unknown" }, { times = table: 0xf7d763a8, speed = 0, model = "unknown" }, { times = table: 0xf7d76528, speed = 0, model = "unknown" }, { times = table: 0xf7d895b0, speed = 0, model = "unknown" }, { times = table: 0xf7d89730, speed = 0, model = "unknown" }, { times = table: 0xf7d4b2b8, speed = 0, model = "unknown" } } ok 63 misc - uv.cpu_info "lo" { { family = "inet", internal = true, mac = "\0\0\0\0\0\0", ip = "127.0.0.1", netmask = "255.0.0.0" }, { family = "inet6", internal = true, mac = "\0\0\0\0\0\0", ip = "::1", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } "eth0" { { family = "inet", internal = false, mac = "\0>§`", ip = "172.16.27.143", netmask = "255.255.255.0" }, { family = "inet6", internal = false, mac = "\0>§`", ip = "2a02:168:a077:701:216:3eff:fe02:a760", netmask = "ffff:ffff:ffff:ffff::" }, { family = "inet6", internal = false, mac = "\0>§`", ip = "fe80::216:3eff:fe02:a760", netmask = "ffff:ffff:ffff:ffff::" } } ok 64 misc - uv.interface_addresses { 13.79, 14.7, 15.2 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.1710398010" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { uid = 1000, gid = 1000, shell = "/bin/sh", homedir = "/home/buildozer", username = "buildozer" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.2702990363415e+16 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.90-0-lts", version = "#1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000", sysname = "Linux", machine = "armv8l" } ok 73 misc - uv.os_uname os.time 1731228537 uv.gettimeofday 1731228537.000202 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 = 12702991, nsec = 369344310 } nil "realtime" { sec = 12702991, nsec = 369383310 } 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: 0x00554330 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x00554330 "timeout" uv_timer_t: 0xf7e06ce0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x00554330 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: 0xf7e06da0, pid = 40657 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7e06e00, pid = 40658 } "exit" uv_process_t: 0xf7e06e00 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7e06cf0, pid = 40659 } "exit" uv_process_t: 0xf7e06cf0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7e06db0, pid = 40661 } "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 = 40663, code = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7e06140, address = { ip = "127.0.0.1", family = "inet", port = 39675 } } { req = uv_connect_t: 0xf7d596f0, client = uv_tcp_t: 0xf7e061e0 } "server on connection" uv_tcp_t: 0xf7e06140 "client on connect" uv_tcp_t: 0xf7e061e0 nil "client on shutdown" uv_tcp_t: 0xf7e061e0 nil "client on close" uv_tcp_t: 0xf7e061e0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7e06150, address = { ip = "::1", family = "inet6", port = 40637 } } { req = uv_connect_t: 0xf7d596f0, client = uv_tcp_t: 0xf7e061f0 } "server on connection" uv_tcp_t: 0xf7e06150 "client on connect" uv_tcp_t: 0xf7e061f0 nil "client on shutdown" uv_tcp_t: 0xf7e061f0 nil "client on close" uv_tcp_t: 0xf7e061f0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7e06140, address = { ip = "127.0.0.1", family = "inet", port = 34677 } } { socket = uv_tcp_t: 0xf7e061e0, req = uv_write_t: 0xf7d79ac8 } "client onwrite" uv_tcp_t: 0xf7e061e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7e061f0, address = { ip = "127.0.0.1", family = "inet", port = 46019 } } { socket = uv_tcp_t: 0xf7e06150, req = uv_write_t: 0xf7d4a4b8 } "client onwrite" uv_tcp_t: 0xf7e06150 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: 0xf7e06150, address = { ip = "127.0.0.1", family = "inet", port = 42607 } } { socket = uv_tcp_t: 0xf7e061e0, req = uv_write_t: 0xf7d76c18 } "client onwrite" uv_tcp_t: 0xf7e061e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7e061f0, address = { ip = "127.0.0.1", family = "inet", port = 37783 } } { socket = uv_tcp_t: 0xf7e06140, req = uv_write_t: 0xf7d76c18 } "client onwrite" uv_tcp_t: 0xf7e06140 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7e06150, address = { ip = "127.0.0.1", family = "inet", port = 43929 } } { socket = uv_tcp_t: 0xf7e061e0, req = uv_write_t: 0xf7d76c18 } "client onwrite" uv_tcp_t: 0xf7e061e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7e06140, address = { ip = "127.0.0.1", family = "inet", port = 42845 } } { socket = uv_tcp_t: 0xf7e061f0, req = uv_write_t: 0xf7d76c18 } "client onwrite" uv_tcp_t: 0xf7e061f0 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: 0xf5cfbd84 { elapsed = 100, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7ea7f34 Runing uv_thread_t: 0xf7ea7f34 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 100, 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: 0xf7e06e00 "closed" uv_timer_t: 0xf7e06e00 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7e06ce0 "interval" uv_timer_t: 0xf7e06ce0 "interval" uv_timer_t: 0xf7e06ce0 "closed" uv_timer_t: 0xf7e06ce0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7e06da0 "timeout" uv_timer_t: 0xf7e06d40 "interval" uv_timer_t: 0xf7e06da0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7e06e00 0 "interval" uv_timer_t: 0xf7e06e00 8 "interval" uv_timer_t: 0xf7e06e00 4 "interval" uv_timer_t: 0xf7e06e00 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7e06ce0 0 "interval" uv_timer_t: 0xf7e06ce0 8 "interval" uv_timer_t: 0xf7e06ce0 4 "interval" uv_timer_t: 0xf7e06ce0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x00554520 } { req = 0, client = uv_udp_t: 0x005545a0 } "client on send" uv_udp_t: 0x005545a0 nil "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 38993 } { } "server on close" uv_udp_t: 0x00554520 "client on close" uv_udp_t: 0x005545a0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x00554520 } { req = 0, client = uv_udp_t: 0x005545a0 } "client on send" uv_udp_t: 0x005545a0 nil "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 58364 } { } "server on close" uv_udp_t: 0x00554520 "client on close" uv_udp_t: 0x005545a0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x00554520 } { req = 0, client = uv_udp_t: 0x005545a0 } "client on send" uv_udp_t: 0x005545a0 nil "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "::1", family = "inet6", port = 37713 } { } "server on close" uv_udp_t: 0x00554520 "client on close" uv_udp_t: 0x005545a0 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: 0x00554520 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 58669 } { } "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 60014 } { } "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 60014 } { } "server on recv" uv_udp_t: 0x00554520 nil nil { } "server on recv" uv_udp_t: 0x00554520 "PING" { ip = "127.0.0.1", family = "inet", port = 57262 } { } "client on close" uv_udp_t: 0x005545a0 "server on close" uv_udp_t: 0x00554520 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } "PING" { ip = "127.0.0.1", family = "inet", port = 58903 } 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: 0xf6540d84" "hello" uv_thread_t: 0xf6540d84 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 0xf7dc8bdc 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... './usr/lib/libluv.a' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-static/./usr/lib/libluv.a' >>> 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... 'usr/include' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/lib/pkgconfig' 'usr/lib/libluv.so' -> '/home/buildozer/aports/community/lua-luv/pkg/lua-luv-dev/usr/lib/libluv.so' >>> 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... '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-armhf.so.1 so:libuv.so.1 >>> libluv*: Package size: 137.2 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: 9.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: 190.4 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: 0.0 >>> 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-armhf.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 137.2 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-armhf.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 133.2 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, 10 Nov 2024 08:49:03 +0000 elapsed time 0h 0m 47s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/16) Purging .makedepends-lua-luv (20241110.084823) (2/16) Purging cmake (3.30.5-r0) (3/16) Purging libuv-dev (1.49.2-r0) (4/16) Purging libuv (1.49.2-r0) (5/16) Purging lua-compat53-dev (0.13-r0) (6/16) Purging luajit-dev (2.1_p20240314-r0) (7/16) Purging luajit (2.1_p20240314-r0) (8/16) Purging lua5.1-dev (5.1.5-r13) (9/16) Purging lua5.1 (5.1.5-r13) (10/16) Purging lua5.1-libs (5.1.5-r13) (11/16) Purging lua5.4-dev (5.4.7-r0) (12/16) Purging libarchive (3.7.7-r0) (13/16) Purging libbz2 (1.0.8-r6) (14/16) Purging rhash-libs (1.4.5-r0) (15/16) Purging samurai (1.2-r6) (16/16) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 319 MiB in 101 packages >>> lua-luv: Updating the community/armhf repository index... >>> lua-luv: Signing the index...