>>> lua-luv: Building community/lua-luv 1.44.2.1-r4 (using abuild 3.11.0-r1) started Mon, 15 May 2023 20:01:16 +0000 >>> lua-luv: Checking sanity of /home/buildozer/aports/community/lua-luv/APKBUILD... >>> WARNING: lua-luv: No maintainer >>> lua-luv: Analyzing dependencies... >>> lua-luv: Installing for build: build-base cmake libuv-dev lua-compat53-dev ninja luajit-dev lua5.1-dev lua5.4-dev (1/18) Installing libarchive (3.6.2-r3) (2/18) Installing libformw (6.4_p20230514-r0) (3/18) Installing rhash-libs (1.4.3-r2) (4/18) Installing libuv (1.44.2-r3) (5/18) Installing cmake (3.26.3-r1) (6/18) Installing libuv-dev (1.44.2-r3) (7/18) Installing lua-compat53-dev (0.10-r1) (8/18) Installing samurai (1.2-r3) (9/18) Installing luajit (2.1_p20230410-r3) (10/18) Installing luajit-dev (2.1_p20230410-r3) (11/18) Installing lua5.1-libs (5.1.5-r12) (12/18) Installing lua5.1 (5.1.5-r12) (13/18) Installing lua5.1-dev (5.1.5-r12) (14/18) Installing lua5.4-libs (5.4.6-r0) (15/18) Installing readline (8.2.1-r2) (16/18) Installing lua5.4 (5.4.6-r0) (17/18) Installing lua5.4-dev (5.4.6-r0) (18/18) Installing .makedepends-lua-luv (20230515.200117) Executing busybox-1.36.0-r11.trigger OK: 440 MiB in 125 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.44.2-1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 121k 100 121k 0 0 1140k 0 --:--:-- --:--:-- --:--:-- 1145k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.44.2-1.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.44.2-1.tar.gz: OK disable-udp-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/edge/lua-luv-1.44.2-1.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 < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/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.44.2 [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 < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/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 module luv.so [4/5] Linking C shared library libluv.so.1.44.2 [5/5] Creating library symlink libluv.so.1 libluv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.4") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/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.44.2 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C static library libluv.a [4/4] Linking C shared module luv.so >>> lua-luv: Running tests with lua5.1 1..128 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7e16970 "closed" uv_timer_t: 0xf7e16970 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7e169d0 "closed" { } uv_timer_t: 0xf7e169d0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", family = "inet6", canonname = "luvit.io" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-edge-x86.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-edge-x86.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { nlink = 1, ino = 35001645, mtime = table: 0xf7e38e90, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7e38da0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7e38ec0, birthtime = table: 0xf7df8fe0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { nlink = 1, ino = 35001645, mtime = table: 0xf7e36070, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7e36040, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7e36220, birthtime = table: 0xf7e36280, blocks = 16 } } { chunk = 6353 } 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 = "lgtm.yml", ftype = "file" } { 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 = "lgtm.yml", ftype = "file" } { 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.44.2-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7dd5624 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lgtm.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lgtm.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 58832537, type = 61267, bsize = 4096, files = 54673408, bfree = 69771058, ffree = 50706756, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 58832537, type = 61267, bsize = 4096, files = 54673408, bfree = 69771058, ffree = 50706756, blocks = 214974462 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 56 misc - uv.guess_handle { version = 76802, version_string = "1.44.2" } ok 57 misc - uv.version and uv.version_string { rss = 1720320, total = 67493289984, constrained = 0, free = 64883343360 } ok 58 misc - memory size { uptime = 1576170.91 } ok 59 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 149192, sec = 0 }, oublock = 64, stime = { usec = 10410, sec = 0 }, nivcsw = 3, minflt = 712, idrss = 0, majflt = 0, nvcsw = 61, isrss = 0, nswap = 0, maxrss = 2024, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { speed = 1200, times = table: 0xf7e38b90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e38cb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e38d70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e38e90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec4a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec5f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec650, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec6b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dec7a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfabd0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfac30, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfacf0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfad50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfade0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7dfae70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df0310, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df03d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df0460, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df0580, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df06a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1331, times = table: 0xf7df26b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df27a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7df2890, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37b70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37c90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37d80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37e40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37ea0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e37f00, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e19090, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0xf7e19180, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 62 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>uš]", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.21.5" }, { mac = "\0>uš]", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe75:ba5d" } } ok 63 misc - uv.interface_addresses { 3.02, 13.74, 10.86 } ok 64 misc - uv.loadavg "/usr/bin/lua5.1" ok 65 misc - uv.exepath "/home/buildozer" ok 66 misc - uv.os_homedir "/tmp" ok 67 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/ash" } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.5761709495195e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { release = "5.15.108-0-lts", machine = "i686", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1684180899 uv.gettimeofday 1684180899.000167 ok 73 misc - uv.gettimeofday ok 74 misc - uv.os_environ ok 75 misc - uv.sleep ok 76 misc - uv.random async ok 77 misc - uv.random sync ok 78 misc - uv.random errors ok 79 pipe - pipe chmod ok 80 pipe - pipe ping pong ok 81 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7dddf30 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7e1fb90 "timeout" uv_timer_t: 0xf7e169d0 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7e045e0 ok 84 prepare-check-idle-async - simple idle ok 85 prepare-check-idle-async - simple async ok 86 process - test disable_stdio_inheritance { handle = uv_process_t: 0xf7ddce00, pid = 15871 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 87 process - process stdout { handle = uv_process_t: 0xf7df7560, pid = 15872 } "exit" uv_process_t: 0xf7df7560 { status = 0, signal = 2 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0xf7e05140, pid = 15873 } "exit" uv_process_t: 0xf7e05140 { status = 0, signal = 15 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0xf7e05730, pid = 15875 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 91 process - process stdio ok 92 process - get pid ok 93 req - cancel ok 94 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 15877, code = 0 } ok 95 signal - Catch SIGINT { address = { family = "inet", port = 37675, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de4410 } { req = uv_connect_t: 0xf7df4264, client = uv_tcp_t: 0xf7de44a0 } "server on connection" uv_tcp_t: 0xf7de4410 "client on connect" uv_tcp_t: 0xf7de44a0 nil "client on shutdown" uv_tcp_t: 0xf7de44a0 nil "client on close" uv_tcp_t: 0xf7de44a0 ok 96 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 34175, ip = "::1" }, server = uv_tcp_t: 0xf7de4770 } { req = uv_connect_t: 0xf7e05f84, client = uv_tcp_t: 0xf7df56c0 } "server on connection" uv_tcp_t: 0xf7de4770 "client on connect" uv_tcp_t: 0xf7df56c0 nil "client on shutdown" uv_tcp_t: 0xf7df56c0 nil "client on close" uv_tcp_t: 0xf7df56c0 ok 97 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 46259, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de40b0 } { req = uv_write_t: 0xf7e35a94, socket = uv_tcp_t: 0xf7de4260 } "client onwrite" uv_tcp_t: 0xf7de4260 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { address = { family = "inet", port = 33019, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de44a0 } { req = uv_write_t: 0xf7e43824, socket = uv_tcp_t: 0xf7de4770 } "client onwrite" uv_tcp_t: 0xf7de4770 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 99 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 100 tcp - tcp invalid ip address { address = { family = "inet", port = 44307, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de4260 } { req = uv_write_t: 0xf7e429a4, socket = uv_tcp_t: 0xf7de4410 } "client onwrite" uv_tcp_t: 0xf7de4410 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { address = { family = "inet", port = 35667, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de4770 } { req = uv_write_t: 0xf7e06be4, socket = uv_tcp_t: 0xf7df56c0 } "client onwrite" uv_tcp_t: 0xf7df56c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { address = { family = "inet", port = 42293, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7de4260 } { req = uv_write_t: 0xf7e20414, socket = uv_tcp_t: 0xf7de4410 } "client onwrite" uv_tcp_t: 0xf7de4410 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { address = { family = "inet", port = 33565, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7df56c0 } { req = uv_write_t: 0xf7e42ba4, socket = uv_tcp_t: 0xf7de40b0 } "client onwrite" uv_tcp_t: 0xf7de40b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp close reset accepted after shutdown ok 105 tcp - socketpair ping pong In uv_thread_t: 0xf5dc5d90 { delay = 100, elapsed = 102 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0xf7f79ca4 Runing uv_thread_t: 0xf7f79ca4 { delay = 100, elapsed = 101 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0xf7decdd0 "closed" uv_timer_t: 0xf7decdd0 ok 110 timer - simple timeout "interval" uv_timer_t: 0xf7decf50 "interval" uv_timer_t: 0xf7decf50 "interval" uv_timer_t: 0xf7decf50 "closed" uv_timer_t: 0xf7decf50 ok 111 timer - simple interval "interval" uv_timer_t: 0xf7e169d0 "timeout" uv_timer_t: 0xf7e16970 "interval" uv_timer_t: 0xf7e169d0 ok 112 timer - timeout with interval "interval" uv_timer_t: 0xf7decd70 0 "interval" uv_timer_t: 0xf7decd70 8 "interval" uv_timer_t: 0xf7decd70 4 "interval" uv_timer_t: 0xf7decd70 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0xf7decdd0 0 "interval" uv_timer_t: 0xf7decdd0 8 "interval" uv_timer_t: 0xf7decdd0 4 "interval" uv_timer_t: 0xf7decdd0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0xf7e20400 } { req = 0, client = uv_udp_t: 0xf7e35a80 } "client on send" uv_udp_t: 0xf7e35a80 nil "server on recv" uv_udp_t: 0xf7e20400 "PING" { family = "inet", port = 37038, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7e20400 "client on close" uv_udp_t: 0xf7e35a80 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7e42990 } { req = 0, client = uv_udp_t: 0xf7e42b10 } "client on send" uv_udp_t: 0xf7e42b10 nil "server on recv" uv_udp_t: 0xf7e42990 "PING" { family = "inet", port = 38427, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7e42990 "client on close" uv_udp_t: 0xf7e42b10 ok 118 udp - basic udp send from table { server = uv_udp_t: 0xf7e06dd0 } { req = 0, client = uv_udp_t: 0xf7e06ed0 } "client on send" uv_udp_t: 0xf7e06ed0 nil "server on recv" uv_udp_t: 0xf7e06dd0 "PING" { family = "inet6", port = 36340, ip = "::1" } { } "server on close" uv_udp_t: 0xf7e06dd0 "client on close" uv_udp_t: 0xf7e06ed0 ok 119 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 120 udp - udp send args { server = uv_udp_t: 0xf7e42890 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7e42890 "PING" { family = "inet", port = 43863, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e42890 "PING" { family = "inet", port = 33980, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e42890 "PING" { family = "inet", port = 33980, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7e42890 nil nil { } "server on recv" uv_udp_t: 0xf7e42890 "PING" { family = "inet", port = 55594, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7e42990 "server on close" uv_udp_t: 0xf7e42890 ok 121 udp - udp connect "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } "PING" { family = "inet", port = 40933, ip = "127.0.0.1" } ok 122 udp - udp recvmmsg ok 123 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 124 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf65cad90" "hello" uv_thread_t: 0xf65cad90 finish hello ok 125 work - test threadpool with async 1 2 3 4 5 7 8 ok 126 work - test threadpool with coro ok 127 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: ? ok 128 work - test threadpool with invalid return value # All tests passed 6 >>> lua-luv: Running tests with lua5.4 1..128 "in async notify callback" "a" true 250.0 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7dacbb0 "closed" uv_timer_t: 0xf7dacbb0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7dacc10 "closed" { } uv_timer_t: 0xf7dacc10 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { family = "inet6", socktype = "stream", port = 80, protocol = "tcp", addr = "::1" }, { family = "inet", socktype = "stream", port = 80, protocol = "tcp", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", socktype = "stream", port = 80, protocol = "tcp", addr = "::1" }, { family = "inet", socktype = "stream", port = 80, protocol = "tcp", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", canonname = "luvit.io", socktype = "stream", protocol = "tcp", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { family = "inet", canonname = "luvit.io", socktype = "stream", protocol = "tcp", addr = "206.189.225.172" }, { family = "inet6", canonname = "luvit.io", socktype = "stream", protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { family = "inet", canonname = "luvit.io", socktype = "stream", protocol = "tcp", addr = "206.189.225.172" }, { family = "inet", canonname = "luvit.io", socktype = "dgram", protocol = "udp", addr = "206.189.225.172" }, { family = "inet6", canonname = "luvit.io", socktype = "stream", protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001" }, { family = "inet6", canonname = "luvit.io", socktype = "dgram", protocol = "udp", addr = "2604:a880:400:d0::1b9f:2001" } } 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-edge-x86.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-edge-x86.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { gen = 0, mtime = table: 0xf7ddcdd0, uid = 1000, blocks = 16, mode = 33188, dev = 64769, gid = 1000, blksize = 4096, ino = 35001645, atime = table: 0xf7dc8540, flags = 0, nlink = 1, size = 6353, type = "file", birthtime = table: 0xf7dd5f90, rdev = 0, ctime = table: 0xf7ddce90 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { gen = 0, mtime = table: 0xf7dafd40, uid = 1000, blocks = 16, mode = 33188, dev = 64769, gid = 1000, blksize = 4096, ino = 35001645, atime = table: 0xf7dafce0, flags = 0, nlink = 1, size = 6353, type = "file", birthtime = table: 0xf7dd37a0, rdev = 0, ctime = table: 0xf7dafe00 } } { chunk = 6353 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "file", name = "lgtm.yml" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "file", name = "lgtm.yml" } { 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.44.2-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "lgtm.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "lgtm.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } uv_dir_t: 0xf7dd6190 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = "examples" } } { { type = "directory", name = "tests" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "deps" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "LICENSE.txt" } } { { type = "directory", name = "lib" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = "docs.md" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-static" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "src" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "lgtm.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "rockspecs" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "lgtm.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = "examples" }, { type = "directory", name = "tests" }, { type = "directory", name = ".github" }, { type = "directory", name = "deps" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "LICENSE.txt" }, { type = "directory", name = "lib" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = "docs.md" }, { type = "file", name = ".gitmodules" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-static" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "src" }, { type = "directory", name = "build-jit" }, { type = "file", name = ".clang-format" }, { type = "directory", name = ".ci" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "lgtm.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clangd" }, { type = "directory", name = "rockspecs" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bsize = 4096, type = 61267, files = 54673408, bfree = 69771051, ffree = 50706756, bavail = 58832530, blocks = 214974462 } ok 41 fs - fs.statfs sync { bsize = 4096, type = 61267, files = 54673408, bfree = 69771051, ffree = 50706756, bavail = 58832530, blocks = 214974462 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 56 misc - uv.guess_handle { version = 76802, version_string = "1.44.2" } ok 57 misc - uv.version and uv.version_string { rss = 1810432, constrained = 0.0, total = 67493289984.0, free = 64886812672.0 } ok 58 misc - memory size { uptime = 1576177.97 } ok 59 misc - uv.uptime { oublock = 64, msgrcv = 0, stime = { sec = 0, usec = 25352 }, idrss = 0, nswap = 0, minflt = 622, nivcsw = 1, msgsnd = 0, nsignals = 0, nvcsw = 63, maxrss = 1996, isrss = 0, utime = { sec = 0, usec = 88581 }, inblock = 0, majflt = 0, ixrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7dd3b60 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7dd51b0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7ddcdd0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7de8410 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1552.0, times = table: 0xf7db2740 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db27a0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2800 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2860 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db28c0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2920 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2980 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db29e0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2a40 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2aa0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2b30 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2b90 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2bf0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2c50 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2cb0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2d10 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2d70 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2dd0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2e30 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1900.0, times = table: 0xf7db2e90 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2f20 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2f80 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db2fe0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db3040 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db30a0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db3100 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db3160 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200.0, times = table: 0xf7db31c0 } } ok 62 misc - uv.cpu_info "eth0" { { internal = false, mac = "\0>uš]", netmask = "255.255.255.0", family = "inet", ip = "172.16.21.5" }, { internal = false, mac = "\0>uš]", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "fe80::216:3eff:fe75:ba5d" } } "lo" { { internal = true, mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", family = "inet", ip = "127.0.0.1" }, { internal = true, mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", ip = "::1" } } ok 63 misc - uv.interface_addresses { 2.78, 13.51, 10.8 } ok 64 misc - uv.loadavg "/usr/bin/lua5.4" ok 65 misc - uv.exepath "/home/buildozer" ok 66 misc - uv.os_homedir "/tmp" ok 67 misc - uv.os_tmpdir { shell = "/bin/ash", gid = 1000, uid = 1000, homedir = "/home/buildozer", username = "buildozer" } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.576177996363e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { machine = "i686", sysname = "Linux", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", release = "5.15.108-0-lts" } ok 72 misc - uv.os_uname os.time 1684180906 uv.gettimeofday 1684180906.000211 ok 73 misc - uv.gettimeofday ok 74 misc - uv.os_environ ok 75 misc - uv.sleep ok 76 misc - uv.random async ok 77 misc - uv.random sync ok 78 misc - uv.random errors ok 79 pipe - pipe chmod ok 80 pipe - pipe ping pong ok 81 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7db83c0 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7df7830 "timeout" uv_timer_t: 0xf7db9640 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7dde410 ok 84 prepare-check-idle-async - simple idle ok 85 prepare-check-idle-async - simple async ok 86 process - test disable_stdio_inheritance { pid = 15887, handle = uv_process_t: 0xf7dba100 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 87 process - process stdout { pid = 15888, handle = uv_process_t: 0xf7dba290 } "exit" uv_process_t: 0xf7dba290 { signal = 2, status = 0 } ok 88 process - spawn and kill by pid { pid = 15889, handle = uv_process_t: 0xf7dba290 } "exit" uv_process_t: 0xf7dba290 { signal = 15, status = 0 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { pid = 15891, handle = uv_process_t: 0xf7dba650 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 91 process - process stdio ok 92 process - get pid ok 93 req - cancel ok 94 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 15893, signal = 0, code = 0 } ok 95 signal - Catch SIGINT { address = { family = "inet", ip = "127.0.0.1", port = 34049 }, server = uv_tcp_t: 0xf7dbfc50 } { client = uv_tcp_t: 0xf7dbf350, req = uv_connect_t: 0xf7dacb70 } "server on connection" uv_tcp_t: 0xf7dbfc50 "client on connect" uv_tcp_t: 0xf7dbf350 nil "client on shutdown" uv_tcp_t: 0xf7dbf350 nil "client on close" uv_tcp_t: 0xf7dbf350 ok 96 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", ip = "::1", port = 45439 }, server = uv_tcp_t: 0xf7dbf620 } { client = uv_tcp_t: 0xf7dbfce0, req = uv_connect_t: 0xf7dace70 } "server on connection" uv_tcp_t: 0xf7dbf620 "client on connect" uv_tcp_t: 0xf7dbfce0 nil "client on shutdown" uv_tcp_t: 0xf7dbfce0 nil "client on close" uv_tcp_t: 0xf7dbfce0 ok 97 tcp - basic tcp server and client (ipv6) { address = { family = "inet", ip = "127.0.0.1", port = 42321 }, server = uv_tcp_t: 0xf7dbfce0 } { socket = uv_tcp_t: 0xf7dbf620, req = uv_write_t: 0xf7db3450 } "client onwrite" uv_tcp_t: 0xf7dbf620 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { address = { family = "inet", ip = "127.0.0.1", port = 37739 }, server = uv_tcp_t: 0xf7db3550 } { socket = uv_tcp_t: 0xf7dbf350, req = uv_write_t: 0xf7dbfc70 } "client onwrite" uv_tcp_t: 0xf7dbf350 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 99 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 100 tcp - tcp invalid ip address { address = { family = "inet", ip = "127.0.0.1", port = 44635 }, server = uv_tcp_t: 0xf7db3550 } { socket = uv_tcp_t: 0xf7dbf350, req = uv_write_t: 0xf7dbfc70 } "client onwrite" uv_tcp_t: 0xf7dbf350 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { address = { family = "inet", ip = "127.0.0.1", port = 45077 }, server = uv_tcp_t: 0xf7db33a0 } { socket = uv_tcp_t: 0xf7db34c0, req = uv_write_t: 0xf7db3600 } "client onwrite" uv_tcp_t: 0xf7db34c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { address = { family = "inet", ip = "127.0.0.1", port = 37821 }, server = uv_tcp_t: 0xf7dbf620 } { socket = uv_tcp_t: 0xf7dbfce0, req = uv_write_t: 0xf7db3450 } "client onwrite" uv_tcp_t: 0xf7dbfce0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { address = { family = "inet", ip = "127.0.0.1", port = 43665 }, server = uv_tcp_t: 0xf7dbfce0 } { socket = uv_tcp_t: 0xf7db3430, req = uv_write_t: 0xf7db3570 } "client onwrite" uv_tcp_t: 0xf7db3430 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp close reset accepted after shutdown ok 105 tcp - socketpair ping pong In uv_thread_t: 0xf5d9ed90 { delay = 100, elapsed = 101 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0xf7fc2ca4 Runing uv_thread_t: 0xf7fc2ca4 { delay = 100, elapsed = 100 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0xf7dace50 "closed" uv_timer_t: 0xf7dace50 ok 110 timer - simple timeout "interval" uv_timer_t: 0xf7daceb0 "interval" uv_timer_t: 0xf7daceb0 "interval" uv_timer_t: 0xf7daceb0 "closed" uv_timer_t: 0xf7daceb0 ok 111 timer - simple interval "interval" uv_timer_t: 0xf7dacf70 "timeout" uv_timer_t: 0xf7dacf10 "interval" uv_timer_t: 0xf7dacf70 ok 112 timer - timeout with interval "interval" uv_timer_t: 0xf7dba7b0 0 "interval" uv_timer_t: 0xf7dba7b0 8 "interval" uv_timer_t: 0xf7dba7b0 4 "interval" uv_timer_t: 0xf7dba7b0 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0xf7dba810 0 "interval" uv_timer_t: 0xf7dba810 8 "interval" uv_timer_t: 0xf7dba810 4 "interval" uv_timer_t: 0xf7dba810 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0xf7daf2a0 } { client = uv_udp_t: 0xf7daf320, req = 0 } "client on send" uv_udp_t: 0xf7daf320 nil "server on recv" uv_udp_t: 0xf7daf2a0 "PING" { family = "inet", ip = "127.0.0.1", port = 36445 } { } "server on close" uv_udp_t: 0xf7daf2a0 "client on close" uv_udp_t: 0xf7daf320 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7daf120 } { client = uv_udp_t: 0xf7daf220, req = 0 } "client on send" uv_udp_t: 0xf7daf220 nil "server on recv" uv_udp_t: 0xf7daf120 "PING" { family = "inet", ip = "127.0.0.1", port = 53698 } { } "server on close" uv_udp_t: 0xf7daf120 "client on close" uv_udp_t: 0xf7daf220 ok 118 udp - basic udp send from table { server = uv_udp_t: 0xf7daf2a0 } { client = uv_udp_t: 0xf7daf320, req = 0 } "client on send" uv_udp_t: 0xf7daf320 nil "server on recv" uv_udp_t: 0xf7daf2a0 "PING" { family = "inet6", ip = "::1", port = 37287 } { } "server on close" uv_udp_t: 0xf7daf2a0 "client on close" uv_udp_t: 0xf7daf320 ok 119 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 120 udp - udp send args { server = uv_udp_t: 0xf7daf220 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0xf7daf220 "PING" { family = "inet", ip = "127.0.0.1", port = 53612 } { } "server on recv" uv_udp_t: 0xf7daf220 "PING" { family = "inet", ip = "127.0.0.1", port = 33145 } { } "server on recv" uv_udp_t: 0xf7daf220 "PING" { family = "inet", ip = "127.0.0.1", port = 33145 } { } "server on recv" uv_udp_t: 0xf7daf220 nil nil { } "server on recv" uv_udp_t: 0xf7daf220 "PING" { family = "inet", ip = "127.0.0.1", port = 37256 } { } "client on close" uv_udp_t: 0xf7daf2a0 "server on close" uv_udp_t: 0xf7daf220 ok 121 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } "PING" { family = "inet", ip = "127.0.0.1", port = 51205 } ok 122 udp - udp recvmmsg ok 123 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 124 work - test threadpool "in async notify callback" "a" true 250.0 2.0 4.0 "uv_thread_t: 0xf65a1d90" "hello" uv_thread_t: 0xf65a1d90 finish hello ok 125 work - test threadpool with async 1 2 3 4 5 6 7 8 ok 126 work - test threadpool with coro ok 127 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 128 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..128 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x56661a10 "closed" uv_timer_t: 0x56661a10 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x56661a70 "closed" { } uv_timer_t: 0x56661a70 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { addr = "::1", socktype = "stream", protocol = "tcp", port = 80, family = "inet6" }, { addr = "127.0.0.1", socktype = "stream", protocol = "tcp", port = 80, family = "inet" } } 2 ok 8 dns - Get all local http addresses { { protocol = "tcp", socktype = "stream", port = 80, addr = "::1", family = "inet6" }, { protocol = "tcp", socktype = "stream", port = 80, addr = "127.0.0.1", family = "inet" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172" }, { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", family = "inet", socktype = "stream" }, { addr = "206.189.225.172", protocol = "udp", canonname = "luvit.io", family = "inet", socktype = "dgram" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", family = "inet6", socktype = "stream" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", canonname = "luvit.io", family = "inet6", socktype = "dgram" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-edge-x86.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-edge-x86.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { size = 6353, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 35001645, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7e51a38, mtime = table: 0xf7e70010, ctime = table: 0xf7efad68, birthtime = table: 0xf7e797a0, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { size = 6353, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 35001645, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7efdc40, mtime = table: 0xf7e54048, ctime = table: 0xf7e88988, birthtime = table: 0xf7e5a5b8, type = "file" } } { chunk = 6353 } 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 = "lgtm.yml", ftype = "file" } { 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 = "lgtm.yml", ftype = "file" } { 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.44.2-1" "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } uv_dir_t: 0xf7e6f858 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "examples", type = "directory" } } { { name = "tests", type = "directory" } } { { name = ".github", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = "lib", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = "docs.md", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-static", type = "directory" } } { { name = ".editorconfig", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "src", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "lgtm.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clangd", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lgtm.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "examples", type = "directory" }, { name = "tests", type = "directory" }, { name = ".github", type = "directory" }, { name = "deps", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = "lib", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = "docs.md", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "build-static", type = "directory" }, { name = ".editorconfig", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "src", type = "directory" }, { name = "build-jit", type = "directory" }, { name = ".clang-format", type = "file" }, { name = ".ci", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "lgtm.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clangd", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { blocks = 214974462, bfree = 69771044, type = 61267, ffree = 50706756, files = 54673408, bavail = 58832523, bsize = 4096 } ok 41 fs - fs.statfs sync { files = 54673408, type = 61267, bsize = 4096, blocks = 214974462, bfree = 69771044, bavail = 58832523, ffree = 50706756 } 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 "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 56 misc - uv.guess_handle { version = 76802, version_string = "1.44.2" } ok 57 misc - uv.version and uv.version_string { constrained = 0, free = 64890052608, rss = 2371584, total = 67493289984 } ok 58 misc - memory size { uptime = 1576184.96 } ok 59 misc - uv.uptime { isrss = 0, minflt = 516, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 60, nivcsw = 2, utime = { usec = 109095, sec = 0 }, stime = { usec = 23154, sec = 0 }, maxrss = 2316, ixrss = 0, idrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e519b0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e80950 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e884d0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e51a38 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e53f10 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7efad68 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0xf7e59cb8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e6f840 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e54118 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e80cb8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7ef6b68 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e57980 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e58e08 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e791b8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e57ec8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7efd060 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7efd590 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e88488 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e85260 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e797a0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7eef270 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7ee0740 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e57518 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7ef75b0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e88368 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e5a760 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e8dd78 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e5b348 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e89930 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7ef97a8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e57ff0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0xf7e78c88 } } ok 62 misc - uv.cpu_info "eth0" { { netmask = "255.255.255.0", ip = "172.16.21.5", internal = false, family = "inet", mac = "\0>uš]" }, { netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe75:ba5d", internal = false, family = "inet6", mac = "\0>uš]" } } "lo" { { netmask = "255.0.0.0", ip = "127.0.0.1", internal = true, family = "inet", mac = "\0\0\0\0\0\0" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1", internal = true, family = "inet6", mac = "\0\0\0\0\0\0" } } ok 63 misc - uv.interface_addresses { 2.56, 13.29, 10.75 } ok 64 misc - uv.loadavg "/usr/bin/luajit-2.1.0-beta3" ok 65 misc - uv.exepath "/home/buildozer" ok 66 misc - uv.os_homedir "/tmp" ok 67 misc - uv.os_tmpdir { gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer", username = "buildozer", uid = 1000 } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.5761850039579e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { machine = "i686", sysname = "Linux", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", release = "5.15.108-0-lts" } ok 72 misc - uv.os_uname os.time 1684180913 uv.gettimeofday 1684180913.000221 ok 73 misc - uv.gettimeofday ok 74 misc - uv.os_environ ok 75 misc - uv.sleep ok 76 misc - uv.random async ok 77 misc - uv.random sync ok 78 misc - uv.random errors ok 79 pipe - pipe chmod ok 80 pipe - pipe ping pong ok 81 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7f27fb0 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x56661fc0 "timeout" uv_timer_t: 0x566619b0 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7f27fb0 ok 84 prepare-check-idle-async - simple idle ok 85 prepare-check-idle-async - simple async ok 86 process - test disable_stdio_inheritance { handle = uv_process_t: 0x56661a70, pid = 15903 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x56661ad0, pid = 15904 } "exit" uv_process_t: 0x56661ad0 { signal = 2, status = 0 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x566619c0, pid = 15905 } "exit" uv_process_t: 0x566619c0 { signal = 15, status = 0 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x56661a80, pid = 15907 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 91 process - process stdio ok 92 process - get pid ok 93 req - cancel ok 94 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 15909, code = 0, signal = 0 } ok 95 signal - Catch SIGINT { server = uv_tcp_t: 0x56661160, address = { port = 42137, ip = "127.0.0.1", family = "inet" } } { req = uv_connect_t: 0xf7e57740, client = uv_tcp_t: 0x566612b0 } "server on connection" uv_tcp_t: 0x56661160 "client on connect" uv_tcp_t: 0x566612b0 nil "client on shutdown" uv_tcp_t: 0x566612b0 nil "client on close" uv_tcp_t: 0x566612b0 ok 96 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7fcccc0, address = { port = 33223, ip = "::1", family = "inet6" } } { req = uv_connect_t: 0xf7e7d0b0, client = uv_tcp_t: 0x56661170 } "server on connection" uv_tcp_t: 0xf7fcccc0 "client on connect" uv_tcp_t: 0x56661170 nil "client on shutdown" uv_tcp_t: 0x56661170 nil "client on close" uv_tcp_t: 0x56661170 ok 97 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x566612a0, address = { port = 42801, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e6f0a8, socket = uv_tcp_t: 0xf7fcccd0 } "client onwrite" uv_tcp_t: 0xf7fcccd0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7fcccc0, address = { port = 44407, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e82c38, socket = uv_tcp_t: 0x56661170 } "client onwrite" uv_tcp_t: 0x56661170 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 99 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 100 tcp - tcp invalid ip address { server = uv_tcp_t: 0x56661160, address = { port = 45175, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e6f0a8, socket = uv_tcp_t: 0x566612a0 } "client onwrite" uv_tcp_t: 0x566612a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { server = uv_tcp_t: 0x56661170, address = { port = 37369, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e6f0a8, socket = uv_tcp_t: 0x566612b0 } "client onwrite" uv_tcp_t: 0x566612b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x56661160, address = { port = 39409, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e6f0a8, socket = uv_tcp_t: 0x566612a0 } "client onwrite" uv_tcp_t: 0x566612a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { server = uv_tcp_t: 0x56661170, address = { port = 43159, ip = "127.0.0.1", family = "inet" } } { req = uv_write_t: 0xf7e6f0a8, socket = uv_tcp_t: 0x566612b0 } "client onwrite" uv_tcp_t: 0x566612b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp close reset accepted after shutdown ok 105 tcp - socketpair ping pong In uv_thread_t: 0xf5decd90 { elapsed = 102, delay = 100 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0xf7fcc9f0 Runing uv_thread_t: 0xf7fcc9f0 { elapsed = 100, delay = 100 } ok 108 thread - test thread sleep msecs in main thread { elapsed = 101, delay = 100 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x56661350 "closed" uv_timer_t: 0x56661350 ok 110 timer - simple timeout "interval" uv_timer_t: 0x56661950 "interval" uv_timer_t: 0x56661950 "interval" uv_timer_t: 0x56661950 "closed" uv_timer_t: 0x56661950 ok 111 timer - simple interval "interval" uv_timer_t: 0x566613b0 "timeout" uv_timer_t: 0x56661350 "interval" uv_timer_t: 0x566613b0 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x56661950 0 "interval" uv_timer_t: 0x56661950 8 "interval" uv_timer_t: 0x56661950 4 "interval" uv_timer_t: 0x56661950 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x56661350 0 "interval" uv_timer_t: 0x56661350 8 "interval" uv_timer_t: 0x56661350 4 "interval" uv_timer_t: 0x56661350 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0xf7f27f20 } { req = 0, client = uv_udp_t: 0x56661f30 } "client on send" uv_udp_t: 0x56661f30 nil "server on recv" uv_udp_t: 0xf7f27f20 "PING" { port = 42676, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0xf7f27f20 "client on close" uv_udp_t: 0x56661f30 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7f27f20 } { req = 0, client = uv_udp_t: 0x56661f30 } "client on send" uv_udp_t: 0x56661f30 nil "server on recv" uv_udp_t: 0xf7f27f20 "PING" { port = 52695, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0xf7f27f20 "client on close" uv_udp_t: 0x56661f30 ok 118 udp - basic udp send from table { server = uv_udp_t: 0xf7f27f20 } { req = 0, client = uv_udp_t: 0x56661f30 } "client on send" uv_udp_t: 0x56661f30 nil "server on recv" uv_udp_t: 0xf7f27f20 "PING" { port = 54870, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0xf7f27f20 "client on close" uv_udp_t: 0x56661f30 ok 119 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 120 udp - udp send args { server = uv_udp_t: 0x56661f30 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0x56661f30 "PING" { port = 55820, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x56661f30 "PING" { port = 47035, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x56661f30 "PING" { port = 47035, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x56661f30 nil nil { } "server on recv" uv_udp_t: 0x56661f30 "PING" { port = 55851, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0xf7f27f20 "server on close" uv_udp_t: 0x56661f30 ok 121 udp - udp connect "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } "PING" { port = 57572, ip = "127.0.0.1", family = "inet" } ok 122 udp - udp recvmmsg ok 123 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 124 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf6639d90" "hello" uv_thread_t: 0xf6639d90 finish hello ok 125 work - test threadpool with async 1 2 3 4 5 7 8 ok 126 work - test threadpool with coro ok 127 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: at 0xf7ec988f ok 128 work - test threadpool with invalid return value # All tests passed 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.44.2 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/pkgconfig/libluv.pc -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h >>> lua-luv-static*: Running split function static... >>> lua-luv-static*: Preparing subpackage lua-luv-static... >>> lua-luv-static*: Stripping binaries >>> lua-luv-static*: Running postcheck for lua-luv-static >>> lua-luv-dev*: Running split function dev... >>> lua-luv-dev*: Preparing subpackage lua-luv-dev... >>> lua-luv-dev*: Stripping binaries >>> lua-luv-dev*: Running postcheck for lua-luv-dev >>> libluv*: Running split function libluv... '/home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr' -> '/home/buildozer/aports/community/lua-luv/pkg/libluv/usr' >>> libluv*: Preparing subpackage libluv... >>> libluv*: Stripping binaries >>> libluv*: Running postcheck for libluv >>> lua5.1-luv*: Running split function _subpackage... >>> lua5.1-luv*: Preparing subpackage lua5.1-luv... >>> lua5.1-luv*: Stripping binaries >>> lua5.1-luv*: Running postcheck for lua5.1-luv >>> lua5.4-luv*: Running split function _subpackage... >>> lua5.4-luv*: Preparing subpackage lua5.4-luv... >>> lua5.4-luv*: Stripping binaries >>> lua5.4-luv*: Running postcheck for lua5.4-luv >>> lua-luv*: Running postcheck for lua-luv >>> lua-luv*: Preparing package lua-luv... >>> lua-luv*: Stripping binaries >>> WARNING: lua-luv*: No arch specific binaries found so arch should probably be set to "noarch" >>> libluv*: Scanning shared objects >>> lua-luv-dev*: Scanning shared objects >>> lua-luv-static*: Scanning shared objects >>> lua-luv*: Scanning shared objects >>> lua5.1-luv*: Scanning shared objects >>> lua5.4-luv*: Scanning shared objects >>> libluv*: Tracing dependencies... so:libc.musl-x86.so.1 so:libuv.so.1 >>> libluv*: Package size: 148.0 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.44.2.1-r4.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.44.2.1-r4 pkgconfig >>> lua-luv-dev*: Package size: 56.0 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.44.2.1-r4.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 200.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.44.2.1-r4.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.44.2.1-r4.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 176.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.44.2.1-r4.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 172.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.44.2.1-r4.apk >>> lua-luv: Build complete at Mon, 15 May 2023 20:02:00 +0000 elapsed time 0h 0m 44s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/18) Purging .makedepends-lua-luv (20230515.200117) (2/18) Purging cmake (3.26.3-r1) (3/18) Purging libuv-dev (1.44.2-r3) (4/18) Purging libuv (1.44.2-r3) (5/18) Purging lua-compat53-dev (0.10-r1) (6/18) Purging luajit-dev (2.1_p20230410-r3) (7/18) Purging luajit (2.1_p20230410-r3) (8/18) Purging lua5.1-dev (5.1.5-r12) (9/18) Purging lua5.1 (5.1.5-r12) (10/18) Purging lua5.1-libs (5.1.5-r12) (11/18) Purging lua5.4-dev (5.4.6-r0) (12/18) Purging lua5.4 (5.4.6-r0) (13/18) Purging lua5.4-libs (5.4.6-r0) (14/18) Purging libarchive (3.6.2-r3) (15/18) Purging libformw (6.4_p20230514-r0) (16/18) Purging readline (8.2.1-r2) (17/18) Purging rhash-libs (1.4.3-r2) (18/18) Purging samurai (1.2-r3) Executing busybox-1.36.0-r11.trigger OK: 372 MiB in 107 packages >>> lua-luv: Updating the community/x86 repository index... >>> lua-luv: Signing the index...