>>> lua-luv: Building community/lua-luv 1.44.2.1-r3 (using abuild 3.11.0_rc13-r0) started Fri, 21 Apr 2023 12:36:58 +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/20) Installing libbz2 (1.0.8-r5) (2/20) Installing xz-libs (5.4.2-r1) (3/20) Installing libarchive (3.6.2-r2) (4/20) Installing libformw (6.4_p20230401-r4) (5/20) Installing rhash-libs (1.4.3-r2) (6/20) Installing libuv (1.44.2-r2) (7/20) Installing cmake (3.26.3-r1) (8/20) Installing libuv-dev (1.44.2-r2) (9/20) Installing lua-compat53-dev (0.10-r1) (10/20) Installing samurai (1.2-r3) (11/20) Installing luajit (2.1_p20230119-r0) (12/20) Installing luajit-dev (2.1_p20230119-r0) (13/20) Installing lua5.1-libs (5.1.5-r12) (14/20) Installing lua5.1 (5.1.5-r12) (15/20) Installing lua5.1-dev (5.1.5-r12) (16/20) Installing lua5.4-libs (5.4.4-r8) (17/20) Installing readline (8.2.1-r1) (18/20) Installing lua5.4 (5.4.4-r8) (19/20) Installing lua5.4-dev (5.4.4-r8) (20/20) Installing .makedepends-lua-luv (20230421.123700) Executing busybox-1.36.0-r7.trigger OK: 458 MiB in 117 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.44.2-1/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 121k 0 121k 0 0 250k 0 --:--:-- --:--:-- --:--:-- 250k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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/v3.18/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 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done 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] 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 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done 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.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-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 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done 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 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 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done 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.4s) -- 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: 0x7f7f5e198a60 "closed" uv_timer_t: 0x7f7f5e198a60 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f7f5e198880 "closed" { } uv_timer_t: 0x7f7f5e198880 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", family = "inet6", canonname = "luvit.io" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "localhost" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "localhost" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { nlink = 1, ino = 14306834, mtime = table: 0x7f7f5e1a5860, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f7f5e1a5810, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f7f5e1a5950, birthtime = table: 0x7f7f5e1a59a0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { nlink = 1, ino = 14306834, mtime = table: 0x7f7f5e1a48c0, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f7f5e1a4870, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f7f5e1a4910, birthtime = table: 0x7f7f5e1a4960, 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 = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } uv_dir_t: 0x7f7f5e2014a8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = "lgtm.yml", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = "lgtm.yml", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 15527999, type = 61267, bsize = 4096, files = 54673408, bfree = 26466520, ffree = 45107816, blocks = 214993918 } ok 41 fs - fs.statfs sync { bavail = 15528001, type = 61267, bsize = 4096, files = 54673408, bfree = 26466522, ffree = 45107816, blocks = 214993918 } 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 = 1765376, total = 67493171200, constrained = 0, free = 50114117632 } ok 58 misc - memory size { uptime = 41115399.17 } ok 59 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 95544, sec = 0 }, oublock = 64, stime = { usec = 21669, sec = 0 }, nivcsw = 40, minflt = 873, idrss = 0, majflt = 0, nvcsw = 79, isrss = 0, nswap = 0, maxrss = 2184, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { speed = 2699, times = table: 0x7f7f5e1a34b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a35f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a3690, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a0060, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a0240, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a02e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a0560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a0650, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e200020, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e2004d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1e7070, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1e7480, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1e7520, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1e7750, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a47d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a4870, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a4910, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a49b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a4b40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1a4e60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1ddac0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1ddb60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1ddc50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1b8170, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1b8260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1b8530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1b8670, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1b8710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1dea40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e1ded60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e19e0a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7f7f5e19e230, 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>ˍ", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.22.18" }, { mac = "\0>ˍ", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fecb:8da5" } } ok 63 misc - uv.interface_addresses { 58.58, 57.46, 51.15 } 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/sh" } 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 4.1115399202025e+16 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { release = "5.15.12-0-lts", machine = "x86_64", version = "#1-Alpine SMP Fri, 31 Dec 2021 13:23:07 +0000", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1682080650 uv.gettimeofday 1682080650.000679 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: 0x7f7f5e186090 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f7f5e186110 "timeout" uv_timer_t: 0x7f7f5e198880 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f7f5e186190 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: 0x7f7f5e18b490, pid = 1713 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x7f7f5e18b520, pid = 1714 } "exit" uv_process_t: 0x7f7f5e18b520 { status = 0, signal = 2 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x7f7f5e18b5b0, pid = 1715 } "exit" uv_process_t: 0x7f7f5e18b5b0 { status = 0, signal = 15 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x7f7f5e18b760, pid = 1717 } "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 = 1719, code = 0 } ok 95 signal - Catch SIGINT { address = { family = "inet", port = 33597, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e18fda0 } { req = uv_connect_t: 0x7f7f5e18bc08, client = uv_tcp_t: 0x7f7f5e18fed0 } "server on connection" uv_tcp_t: 0x7f7f5e18fda0 "client on connect" uv_tcp_t: 0x7f7f5e18fed0 nil "client on shutdown" uv_tcp_t: 0x7f7f5e18fed0 nil "client on close" uv_tcp_t: 0x7f7f5e18fed0 ok 96 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 41245, ip = "::1" }, server = uv_tcp_t: 0x7f7f5e203460 } { req = uv_connect_t: 0x7f7f5e18bc98, client = uv_tcp_t: 0x7f7f5e203580 } "server on connection" uv_tcp_t: 0x7f7f5e203460 "client on connect" uv_tcp_t: 0x7f7f5e203580 nil "client on shutdown" uv_tcp_t: 0x7f7f5e203580 nil "client on close" uv_tcp_t: 0x7f7f5e203580 ok 97 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 32825, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e1a8c50 } { req = uv_write_t: 0x7f7f5e2088f8, socket = uv_tcp_t: 0x7f7f5e18f4b0 } "client onwrite" uv_tcp_t: 0x7f7f5e18f4b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { address = { family = "inet", port = 46245, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e18f810 } { req = uv_write_t: 0x7f7f5e2088f8, socket = uv_tcp_t: 0x7f7f5e18fdb0 } "client onwrite" uv_tcp_t: 0x7f7f5e18fdb0 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 = 36421, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e203560 } { req = uv_write_t: 0x7f7f5e26cb28, socket = uv_tcp_t: 0x7f7f5e1a8c30 } "client onwrite" uv_tcp_t: 0x7f7f5e1a8c30 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { address = { family = "inet", port = 43359, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e18f6d0 } { req = uv_write_t: 0x7f7f5e26cc28, socket = uv_tcp_t: 0x7f7f5e18f7f0 } "client onwrite" uv_tcp_t: 0x7f7f5e18f7f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { address = { family = "inet", port = 46341, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e18fec0 } { req = uv_write_t: 0x7f7f5e26cb28, socket = uv_tcp_t: 0x7f7f5e203450 } "client onwrite" uv_tcp_t: 0x7f7f5e203450 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { address = { family = "inet", port = 39229, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f7f5e1a8c40 } { req = uv_write_t: 0x7f7f5e26cb28, socket = uv_tcp_t: 0x7f7f5e18f4a0 } "client onwrite" uv_tcp_t: 0x7f7f5e18f4a0 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: 0x7f7f5c16ab38 { delay = 100, elapsed = 101 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7f7f5e339b48 Runing uv_thread_t: 0x7f7f5e339b48 { delay = 100, elapsed = 100 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x7f7f5e198a60 "closed" uv_timer_t: 0x7f7f5e198a60 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7f7f5e2716a0 "interval" uv_timer_t: 0x7f7f5e2716a0 "interval" uv_timer_t: 0x7f7f5e2716a0 "closed" uv_timer_t: 0x7f7f5e2716a0 ok 111 timer - simple interval "interval" uv_timer_t: 0x7f7f5e198920 "timeout" uv_timer_t: 0x7f7f5e198880 "interval" uv_timer_t: 0x7f7f5e198920 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7f7f5e198a60 0 "interval" uv_timer_t: 0x7f7f5e198a60 8 "interval" uv_timer_t: 0x7f7f5e198a60 4 "interval" uv_timer_t: 0x7f7f5e198a60 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7f7f5e2716a0 0 "interval" uv_timer_t: 0x7f7f5e2716a0 8 "interval" uv_timer_t: 0x7f7f5e2716a0 4 "interval" uv_timer_t: 0x7f7f5e2716a0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x7f7f5e2088e0 } { req = 0, client = uv_udp_t: 0x7f7f5e26cb10 } "client on send" uv_udp_t: 0x7f7f5e26cb10 nil "server on recv" uv_udp_t: 0x7f7f5e2088e0 "PING" { family = "inet", port = 53141, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f7f5e2088e0 "client on close" uv_udp_t: 0x7f7f5e26cb10 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f7f5e2088d0 } { req = 0, client = uv_udp_t: 0x7f7f5e26cc10 } "client on send" uv_udp_t: 0x7f7f5e26cc10 nil "server on recv" uv_udp_t: 0x7f7f5e2088d0 "PING" { family = "inet", port = 50339, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f7f5e2088d0 "client on close" uv_udp_t: 0x7f7f5e26cc10 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x7f7f5e2088e0 } { req = 0, client = uv_udp_t: 0x7f7f5e26cb10 } "client on send" uv_udp_t: 0x7f7f5e26cb10 nil "server on recv" uv_udp_t: 0x7f7f5e2088e0 "PING" { family = "inet6", port = 54213, ip = "::1" } { } "server on close" uv_udp_t: 0x7f7f5e2088e0 "client on close" uv_udp_t: 0x7f7f5e26cb10 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: 0x7f7f5e1ea6f0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7f7f5e1ea6f0 "PING" { family = "inet", port = 56950, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7f5e1ea6f0 "PING" { family = "inet", port = 33523, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7f5e1ea6f0 "PING" { family = "inet", port = 33523, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f7f5e1ea6f0 nil nil { } "server on recv" uv_udp_t: 0x7f7f5e1ea6f0 "PING" { family = "inet", port = 39651, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7f7f5e2088e0 "server on close" uv_udp_t: 0x7f7f5e1ea6f0 ok 121 udp - udp connect "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, ip = "127.0.0.1" } "PING" { family = "inet", port = 53839, 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: 0x7f7f5d973b38" "hello" uv_thread_t: 0x7f7f5d973b38 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: 0x7f8332be3730 "closed" uv_timer_t: 0x7f8332be3730 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f8332be3730 "closed" { } uv_timer_t: 0x7f8332be3730 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { socktype = "stream", protocol = "tcp", family = "inet6", port = 80, addr = "::1" }, { socktype = "stream", protocol = "tcp", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { socktype = "stream", protocol = "tcp", family = "inet6", port = 80, addr = "::1" }, { socktype = "stream", protocol = "tcp", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" }, { socktype = "stream", protocol = "tcp", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" }, { socktype = "dgram", protocol = "udp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" }, { socktype = "stream", protocol = "tcp", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001" }, { socktype = "dgram", protocol = "udp", family = "inet6", canonname = "luvit.io", 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 { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "localhost", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "localhost", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { blocks = 16, size = 6353, nlink = 1, gid = 1000, dev = 64769, flags = 0, gen = 0, mtime = table: 0x7f8332c0a200, ino = 14306834, type = "file", blksize = 4096, atime = table: 0x7f8332c08db0, birthtime = table: 0x7f8332c0a380, rdev = 0, ctime = table: 0x7f8332c0a300, uid = 1000, mode = 33188 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { blocks = 16, size = 6353, nlink = 1, gid = 1000, dev = 64769, flags = 0, gen = 0, mtime = table: 0x7f8332bf0f70, ino = 14306834, type = "file", blksize = 4096, atime = table: 0x7f8332bf0d70, birthtime = table: 0x7f8332c0a300, rdev = 0, ctime = table: 0x7f8332c0a200, uid = 1000, mode = 33188 } } { 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 = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "lgtm.yml" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "lgtm.yml" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } uv_dir_t: 0x7f8332bf1948 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = "build-static" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = ".github" } } { { type = "file", name = "README.md" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = ".ci" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "src" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "lgtm.yml" } } { { type = "file", name = ".editorconfig" } } { { type = "directory", name = "examples" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "Makefile" } } { { type = "file", name = "docs.md" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = "build-jit" } } { { type = "directory", name = "lib" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = "build-static" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = ".ci" }, { type = "directory", name = "tests" }, { type = "directory", name = "src" }, { type = "file", name = ".gitignore" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".clang-format" }, { type = "file", name = "lgtm.yml" }, { type = "file", name = ".editorconfig" }, { type = "directory", name = "examples" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "deps" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "docs.md" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "lib" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = "build-static" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = ".github" }, { type = "file", name = "README.md" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = ".ci" }, { type = "directory", name = "tests" }, { type = "directory", name = "src" }, { type = "file", name = ".gitignore" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".clang-format" }, { type = "file", name = "lgtm.yml" }, { type = "file", name = ".editorconfig" }, { type = "directory", name = "examples" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "deps" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "cmake" }, { type = "file", name = "Makefile" }, { type = "file", name = "docs.md" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = "build-jit" }, { type = "directory", name = "lib" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bfree = 26465126, files = 54673408, type = 61267, ffree = 45107711, bavail = 15526605, blocks = 214993918, bsize = 4096 } ok 41 fs - fs.statfs sync { bfree = 26465126, files = 54673408, type = 61267, ffree = 45107711, bavail = 15526605, blocks = 214993918, bsize = 4096 } 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_string = "1.44.2", version = 76802 } ok 57 misc - uv.version and uv.version_string { constrained = 0.0, rss = 1900544, total = 67493171200.0, free = 50190327808.0 } ok 58 misc - memory size { uptime = 41115406.17 } ok 59 misc - uv.uptime { nivcsw = 17, msgsnd = 0, maxrss = 2136, idrss = 0, stime = { sec = 0, usec = 37421 }, nswap = 0, utime = { sec = 0, usec = 54469 }, nsignals = 0, ixrss = 0, msgrcv = 0, minflt = 872, nvcsw = 71, isrss = 0, oublock = 72, inblock = 0, majflt = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { times = table: 0x7f8332bfb240, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332bf0d30, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c0a200, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c08d70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c8ea10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332bf0f70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c08db0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c0a040, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332c08cb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1810, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1910, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1a10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1b10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1c10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1d10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1e10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1f10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be18d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1ad0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1cd0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1ed0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1a50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1e50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8332be1d50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba37f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba38f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba39f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba3af0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba3bf0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba3cf0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba3df0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 }, { times = table: 0x7f8330ba3ef0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2699.0 } } ok 62 misc - uv.cpu_info "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" } } "eth0" { { internal = false, mac = "\0>ˍ", netmask = "255.255.255.0", family = "inet", ip = "172.16.22.18" }, { internal = false, mac = "\0>ˍ", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "fe80::216:3eff:fecb:8da5" } } ok 63 misc - uv.interface_addresses { 58.45, 57.46, 51.18 } 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 { gid = 1000, homedir = "/home/buildozer", shell = "/bin/sh", 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 4.1115406205674e+16 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { release = "5.15.12-0-lts", version = "#1-Alpine SMP Fri, 31 Dec 2021 13:23:07 +0000", machine = "x86_64", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1682080657 uv.gettimeofday 1682080657.000681 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: 0x7f8332c290a0 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f8332c29120 "timeout" uv_timer_t: 0x7f8332be3730 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f8332c291a0 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: 0x7f8332c2deb0, pid = 1729 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x7f8332c12760, pid = 1730 } "exit" uv_process_t: 0x7f8332c12760 { signal = 2, status = 0 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x7f8332c12880, pid = 1731 } "exit" uv_process_t: 0x7f8332c12880 { signal = 15, status = 0 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x7f8332c2ea30, pid = 1733 } "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 = 1735, signal = 0, code = 0 } ok 95 signal - Catch SIGINT { server = uv_tcp_t: 0x7f8332bf15a0, address = { ip = "127.0.0.1", family = "inet", port = 38649 } } { req = uv_connect_t: 0x7f8332be3768, client = uv_tcp_t: 0x7f8332bf1110 } "server on connection" uv_tcp_t: 0x7f8332bf15a0 "client on connect" uv_tcp_t: 0x7f8332bf1110 nil "client on shutdown" uv_tcp_t: 0x7f8332bf1110 nil "client on close" uv_tcp_t: 0x7f8332bf1110 ok 96 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f8332bf1120, address = { ip = "::1", family = "inet6", port = 37505 } } { req = uv_connect_t: 0x7f8332be3768, client = uv_tcp_t: 0x7f8332bf1340 } "server on connection" uv_tcp_t: 0x7f8332bf1120 "client on connect" uv_tcp_t: 0x7f8332bf1340 nil "client on shutdown" uv_tcp_t: 0x7f8332bf1340 nil "client on close" uv_tcp_t: 0x7f8332bf1340 ok 97 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f8332bf1100, address = { ip = "127.0.0.1", family = "inet", port = 40491 } } { socket = uv_tcp_t: 0x7f8332bf1350, req = uv_write_t: 0x7f8332bf16e8 } "client onwrite" uv_tcp_t: 0x7f8332bf1350 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f8332bf1360, address = { ip = "127.0.0.1", family = "inet", port = 42957 } } { socket = uv_tcp_t: 0x7f8332bfbc80, req = uv_write_t: 0x7f8332bf15b8 } "client onwrite" uv_tcp_t: 0x7f8332bfbc80 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: 0x7f8332bf1120, address = { ip = "127.0.0.1", family = "inet", port = 38575 } } { socket = uv_tcp_t: 0x7f8332bf1340, req = uv_write_t: 0x7f8332bf16f8 } "client onwrite" uv_tcp_t: 0x7f8332bf1340 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { server = uv_tcp_t: 0x7f8332bfbc80, address = { ip = "127.0.0.1", family = "inet", port = 41651 } } { socket = uv_tcp_t: 0x7f8332bf1240, req = uv_write_t: 0x7f8332bf15b8 } "client onwrite" uv_tcp_t: 0x7f8332bf1240 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f8332bf16c0, address = { ip = "127.0.0.1", family = "inet", port = 35343 } } { socket = uv_tcp_t: 0x7f8332bf1100, req = uv_write_t: 0x7f8332bf1398 } "client onwrite" uv_tcp_t: 0x7f8332bf1100 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f8332bf1110, address = { ip = "127.0.0.1", family = "inet", port = 43945 } } { socket = uv_tcp_t: 0x7f8332bf1340, req = uv_write_t: 0x7f8332bf16d8 } "client onwrite" uv_tcp_t: 0x7f8332bf1340 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: 0x7f8330ba1b38 { delay = 100, elapsed = 102 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7f8332e06b48 Runing uv_thread_t: 0x7f8332e06b48 { delay = 100, elapsed = 100 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x7f8332be3730 "closed" uv_timer_t: 0x7f8332be3730 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7f8332be3730 "interval" uv_timer_t: 0x7f8332be3730 "interval" uv_timer_t: 0x7f8332be3730 "closed" uv_timer_t: 0x7f8332be3730 ok 111 timer - simple interval "interval" uv_timer_t: 0x7f8332beaa30 "timeout" uv_timer_t: 0x7f8332be3730 "interval" uv_timer_t: 0x7f8332beaa30 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7f8332be3730 0 "interval" uv_timer_t: 0x7f8332be3730 8 "interval" uv_timer_t: 0x7f8332be3730 4 "interval" uv_timer_t: 0x7f8332be3730 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7f8332be3730 0 "interval" uv_timer_t: 0x7f8332be3730 8 "interval" uv_timer_t: 0x7f8332be3730 4 "interval" uv_timer_t: 0x7f8332be3730 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x7f8332c268e0 } { req = 0, client = uv_udp_t: 0x7f8332be5f70 } "client on send" uv_udp_t: 0x7f8332be5f70 nil "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "127.0.0.1", family = "inet", port = 48233 } { } "server on close" uv_udp_t: 0x7f8332c268e0 "client on close" uv_udp_t: 0x7f8332be5f70 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f8332c268d0 } { req = 0, client = uv_udp_t: 0x7f8332be6360 } "client on send" uv_udp_t: 0x7f8332be6360 nil "server on recv" uv_udp_t: 0x7f8332c268d0 "PING" { ip = "127.0.0.1", family = "inet", port = 47333 } { } "server on close" uv_udp_t: 0x7f8332c268d0 "client on close" uv_udp_t: 0x7f8332be6360 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x7f8332c268e0 } { req = 0, client = uv_udp_t: 0x7f8332be6750 } "client on send" uv_udp_t: 0x7f8332be6750 nil "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "::1", family = "inet6", port = 56627 } { } "server on close" uv_udp_t: 0x7f8332c268e0 "client on close" uv_udp_t: 0x7f8332be6750 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: 0x7f8332c268e0 } { ip = "127.0.0.1", family = "inet", port = 9123 } "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "127.0.0.1", family = "inet", port = 59083 } { } "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "127.0.0.1", family = "inet", port = 36592 } { } "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "127.0.0.1", family = "inet", port = 36592 } { } "server on recv" uv_udp_t: 0x7f8332c268e0 nil nil { } "server on recv" uv_udp_t: 0x7f8332c268e0 "PING" { ip = "127.0.0.1", family = "inet", port = 37731 } { } "client on close" uv_udp_t: 0x7f8332be6b40 "server on close" uv_udp_t: 0x7f8332c268e0 ok 121 udp - udp connect "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } "PING" { ip = "127.0.0.1", family = "inet", port = 52801 } 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: 0x7f83313d5b38" "hello" uv_thread_t: 0x7f83313d5b38 finish hello ok 125 work - test threadpool with async 1 2 3 4 6 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]: 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: 0x7fbafb777410 "closed" uv_timer_t: 0x7fbafb777410 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7fbafb777370 "closed" { } uv_timer_t: 0x7fbafb777370 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { protocol = "tcp", socktype = "stream", family = "inet6", port = 80, addr = "::1" }, { protocol = "tcp", socktype = "stream", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { socktype = "stream", addr = "::1", family = "inet6", protocol = "tcp", port = 80 }, { socktype = "stream", addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80 } } 2 ok 9 dns - Get all local http addresses sync { { socktype = "stream", addr = "206.189.225.172", family = "inet", protocol = "tcp", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", family = "inet", socktype = "stream" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", family = "inet6", socktype = "stream" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet", addr = "206.189.225.172" }, { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" }, { protocol = "udp", canonname = "luvit.io", socktype = "dgram", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "localhost", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "localhost", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { rdev = 0, ino = 14306834, blksize = 4096, blocks = 16, flags = 0, gen = 0, size = 6353, mtime = table: 0x7fbafb6389b0, ctime = table: 0x7fbafb62b220, birthtime = table: 0x7fbafb637710, type = "file", atime = table: 0x7fbafb649840, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { size = 6353, type = "file", dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 14306834, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0x7fbafb649840, mtime = table: 0x7fbafb6389b0, ctime = table: 0x7fbafb62b220, birthtime = table: 0x7fbafb6296f8 } } { 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 { 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 { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "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 = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } uv_dir_t: 0x7fbafb649da0 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "build-static", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitmodules", type = "file" } } { { name = ".github", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "src", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".clang-format", type = "file" } } { { name = "lgtm.yml", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "examples", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "deps", type = "directory" } } { { name = "rockspecs", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "docs.md", type = "file" } } { { name = "libluv.pc.in", type = "file" } } { { name = "build-jit", type = "directory" } } { { name = "lib", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = "lgtm.yml", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "build-static", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = ".gitmodules", type = "file" }, { name = ".github", type = "directory" }, { name = "README.md", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = ".ci", type = "directory" }, { name = "tests", type = "directory" }, { name = "src", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".clang-format", type = "file" }, { name = "lgtm.yml", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bfree = 26464012, files = 54673408, ffree = 45107599, type = 61267, bavail = 15525491, bsize = 4096, blocks = 214993918 } ok 41 fs - fs.statfs sync { files = 54673408, ffree = 45107599, type = 61267, bavail = 15525490, bsize = 4096, blocks = 214993918, bfree = 26464011 } 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" { [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 { free = 48799637504, rss = 2641920, total = 67493171200, constrained = 0 } ok 58 misc - memory size { uptime = 41115413.17 } ok 59 misc - uv.uptime { minflt = 594, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 60, nivcsw = 6, utime = { sec = 0, usec = 96723 }, stime = { sec = 0, usec = 13494 }, maxrss = 2580, ixrss = 0, idrss = 0, isrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { speed = 2699, times = table: 0x7fbafb630958, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6319f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb649840, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6be3b8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb637710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6bed08, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb647d68, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6a1658, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb63b788, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb64dda8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6184f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb649d70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb641dd8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6347b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb617da8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb649008, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb5eefb0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb639fd8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb64de20, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb5f3708, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6b6770, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb5f7ba0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb6182a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb640368, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb5f08d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb617eb8, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb62b2a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb638108, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb623220, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb649b18, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb620e90, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2699, times = table: 0x7fbafb628d40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 62 misc - uv.cpu_info "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" } } "eth0" { { internal = false, mac = "\0>ˍ", netmask = "255.255.255.0", family = "inet", ip = "172.16.22.18" }, { internal = false, mac = "\0>ˍ", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "fe80::216:3eff:fecb:8da5" } } ok 63 misc - uv.interface_addresses { 58.25, 57.43, 51.21 } 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 { homedir = "/home/buildozer", username = "buildozer", uid = 1000, gid = 1000, shell = "/bin/sh" } 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 4.1115413198953e+16 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { machine = "x86_64", release = "5.15.12-0-lts", version = "#1-Alpine SMP Fri, 31 Dec 2021 13:23:07 +0000", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1682080664 uv.gettimeofday 1682080664.000676 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: 0x7fbaf9572030 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7fbaf9572030 "timeout" uv_timer_t: 0x7fbafb777410 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7fbaf9572030 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: 0x7fbafb777420, pid = 1745 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x7fbafb777370, pid = 1746 } "exit" uv_process_t: 0x7fbafb777370 { status = 0, signal = 2 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x7fbafb777410, pid = 1747 } "exit" uv_process_t: 0x7fbafb777410 { status = 0, signal = 15 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x7fbafb777420, pid = 1749 } "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 = 1751, signal = 0, code = 0 } ok 95 signal - Catch SIGINT { address = { port = 42269, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572070 } { client = uv_tcp_t: 0x7fbaf95721b0, req = uv_connect_t: 0x7fbafb6245e8 } "server on connection" uv_tcp_t: 0x7fbaf9572070 "client on connect" uv_tcp_t: 0x7fbaf95721b0 nil "client on shutdown" uv_tcp_t: 0x7fbaf95721b0 nil "client on close" uv_tcp_t: 0x7fbaf95721b0 ok 96 tcp - basic tcp server and client (ipv4) { address = { port = 43263, ip = "::1", family = "inet6" }, server = uv_tcp_t: 0x7fbaf9572030 } { client = uv_tcp_t: 0x7fbaf9572170, req = uv_connect_t: 0x7fbafb6245e8 } "client on connect" uv_tcp_t: 0x7fbaf9572170 nil "server on connection" uv_tcp_t: 0x7fbaf9572030 "client on shutdown" uv_tcp_t: 0x7fbaf9572170 nil "client on close" uv_tcp_t: 0x7fbaf9572170 ok 97 tcp - basic tcp server and client (ipv6) { address = { port = 44403, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572040 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf9572180 } "client onwrite" uv_tcp_t: 0x7fbaf9572180 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { address = { port = 33591, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572190 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf9572050 } "client onwrite" uv_tcp_t: 0x7fbaf9572050 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 = { port = 41771, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572070 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf95721a0 } "client onwrite" uv_tcp_t: 0x7fbaf95721a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { address = { port = 34703, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf95721b0 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf9572030 } "client onwrite" uv_tcp_t: 0x7fbaf9572030 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { address = { port = 46625, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572040 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf9572170 } "client onwrite" uv_tcp_t: 0x7fbaf9572170 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { address = { port = 44467, ip = "127.0.0.1", family = "inet" }, server = uv_tcp_t: 0x7fbaf9572050 } { req = uv_write_t: 0x7fbafb5faec8, socket = uv_tcp_t: 0x7fbaf9572180 } "client onwrite" uv_tcp_t: 0x7fbaf9572180 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: 0x7fbaf9571b30 { elapsed = 101, delay = 100 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7fbafb6dcb70 Runing uv_thread_t: 0x7fbafb6dcb70 { 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: 0x7fbafb7772d0 "closed" uv_timer_t: 0x7fbafb7772d0 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7fbafb6dc910 "interval" uv_timer_t: 0x7fbafb6dc910 "interval" uv_timer_t: 0x7fbafb6dc910 "closed" uv_timer_t: 0x7fbafb6dc910 ok 111 timer - simple interval "interval" uv_timer_t: 0x7fbafb777370 "timeout" uv_timer_t: 0x7fbafb7772d0 "interval" uv_timer_t: 0x7fbafb777370 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7fbafb6dc910 0 "interval" uv_timer_t: 0x7fbafb6dc910 8 "interval" uv_timer_t: 0x7fbafb6dc910 4 "interval" uv_timer_t: 0x7fbafb6dc910 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7fbafb7772d0 0 "interval" uv_timer_t: 0x7fbafb7772d0 8 "interval" uv_timer_t: 0x7fbafb7772d0 4 "interval" uv_timer_t: 0x7fbafb7772d0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x7fbafb777ec0 } { client = uv_udp_t: 0x7fbafb6dcf10, req = 0 } "client on send" uv_udp_t: 0x7fbafb6dcf10 nil "server on recv" uv_udp_t: 0x7fbafb777ec0 "PING" { port = 36926, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x7fbafb777ec0 "client on close" uv_udp_t: 0x7fbafb6dcf10 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x561b0dbb9ee0 } { client = uv_udp_t: 0x7fbafb777eb0, req = 0 } "client on send" uv_udp_t: 0x7fbafb777eb0 nil "server on recv" uv_udp_t: 0x561b0dbb9ee0 "PING" { port = 59351, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x561b0dbb9ee0 "client on close" uv_udp_t: 0x7fbafb777eb0 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x7fbafb6dcf00 } { client = uv_udp_t: 0x561b0dbb9ed0, req = 0 } "client on send" uv_udp_t: 0x561b0dbb9ed0 nil "server on recv" uv_udp_t: 0x7fbafb6dcf00 "PING" { port = 54639, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0x7fbafb6dcf00 "client on close" uv_udp_t: 0x561b0dbb9ed0 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: 0x7fbafb6dcf10 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0x7fbafb6dcf10 "PING" { port = 45935, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fbafb6dcf10 "PING" { port = 49152, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fbafb6dcf10 "PING" { port = 49152, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fbafb6dcf10 nil nil { } "server on recv" uv_udp_t: 0x7fbafb6dcf10 "PING" { port = 44641, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0x561b0dbb9ee0 "server on close" uv_udp_t: 0x7fbafb6dcf10 ok 121 udp - udp connect "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, ip = "127.0.0.1", family = "inet" } "PING" { port = 54666, 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: 0x7fbafa5e6b30" "hello" uv_thread_t: 0x7fbafa5e6b30 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 0x7fbafb688be2 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_64.so.1 so:libuv.so.1 >>> libluv*: Package size: 164.0 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.44.2.1-r3.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.44.2.1-r3 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-r3.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 284.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.44.2.1-r3.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-r3.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 192.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.44.2.1-r3.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 184.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.44.2.1-r3.apk >>> lua-luv: Build complete at Fri, 21 Apr 2023 12:37:59 +0000 elapsed time 0h 1m 1s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/20) Purging .makedepends-lua-luv (20230421.123700) (2/20) Purging cmake (3.26.3-r1) (3/20) Purging libuv-dev (1.44.2-r2) (4/20) Purging libuv (1.44.2-r2) (5/20) Purging lua-compat53-dev (0.10-r1) (6/20) Purging luajit-dev (2.1_p20230119-r0) (7/20) Purging luajit (2.1_p20230119-r0) (8/20) Purging lua5.1-dev (5.1.5-r12) (9/20) Purging lua5.1 (5.1.5-r12) (10/20) Purging lua5.1-libs (5.1.5-r12) (11/20) Purging lua5.4-dev (5.4.4-r8) (12/20) Purging lua5.4 (5.4.4-r8) (13/20) Purging lua5.4-libs (5.4.4-r8) (14/20) Purging libarchive (3.6.2-r2) (15/20) Purging libbz2 (1.0.8-r5) (16/20) Purging libformw (6.4_p20230401-r4) (17/20) Purging readline (8.2.1-r1) (18/20) Purging rhash-libs (1.4.3-r2) (19/20) Purging samurai (1.2-r3) (20/20) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r7.trigger OK: 392 MiB in 97 packages >>> lua-luv: Updating the community/x86_64 repository index... >>> lua-luv: Signing the index...