>>> lua-luv: Building community/lua-luv 1.44.2.1-r4 (using abuild 3.11.0-r1) started Mon, 15 May 2023 17:27:27 +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-r6) (2/20) Installing xz-libs (5.4.3-r1) (3/20) Installing libarchive (3.6.2-r3) (4/20) Installing libformw (6.4_p20230514-r0) (5/20) Installing rhash-libs (1.4.3-r2) (6/20) Installing libuv (1.44.2-r3) (7/20) Installing cmake (3.26.3-r1) (8/20) Installing libuv-dev (1.44.2-r3) (9/20) Installing lua-compat53-dev (0.10-r1) (10/20) Installing samurai (1.2-r3) (11/20) Installing luajit (2.1_p20230410-r3) (12/20) Installing luajit-dev (2.1_p20230410-r3) (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.6-r0) (17/20) Installing readline (8.2.1-r2) (18/20) Installing lua5.4 (5.4.6-r0) (19/20) Installing lua5.4-dev (5.4.6-r0) (20/20) Installing .makedepends-lua-luv (20230515.172729) Executing busybox-1.36.0-r11.trigger OK: 440 MiB in 122 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.44.2-1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 121k 100 121k 0 0 1086k 0 --:--:-- --:--:-- --:--:-- 1093k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.44.2-1.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.44.2-1.tar.gz: OK disable-udp-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/edge/lua-luv-1.44.2-1.tar.gz... >>> lua-luv: disable-udp-test.patch patching file tests/test-udp.lua CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/build-5.1 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.44.2 [5/5] Creating library symlink libluv.so.1 libluv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared library libluv.so.1.44.2 [4/5] Linking C shared module luv.so [5/5] Creating library symlink libluv.so.1 libluv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.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 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBUV) does not match the name of the calling package (Libuv). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibuv.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:68 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LIBUV: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C shared module luv.so [4/4] Linking C static library libluv.a >>> 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: 0x7f9fd178ea60 "closed" uv_timer_t: 0x7f9fd178ea60 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f9fd178e880 "closed" { } uv_timer_t: 0x7f9fd178e880 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 = 21136227, mtime = table: 0x7f9fd179b860, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f9fd179b810, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f9fd179b950, birthtime = table: 0x7f9fd179b9a0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { nlink = 1, ino = 21136227, mtime = table: 0x7f9fd179a8c0, gid = 1000, mode = 33188, size = 6353, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7f9fd179a870, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7f9fd179a910, birthtime = table: 0x7f9fd179a960, 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: 0x7f9fd17f74a8 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 = 43450616, type = 61267, bsize = 4096, files = 54673408, bfree = 54389137, ffree = 46859774, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 43450616, type = 61267, bsize = 4096, files = 54673408, bfree = 54389137, ffree = 46859774, blocks = 214974462 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 56 misc - uv.guess_handle { version = 76802, version_string = "1.44.2" } ok 57 misc - uv.version and uv.version_string { rss = 1720320, total = 67493289984, constrained = 0, free = 64959774720 } ok 58 misc - memory size { uptime = 1571354.39 } ok 59 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 123726, sec = 0 }, oublock = 64, stime = { usec = 21257, sec = 0 }, nivcsw = 2, minflt = 869, idrss = 0, majflt = 0, nvcsw = 61, isrss = 0, nswap = 0, maxrss = 2140, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { speed = 1200, times = table: 0x7f9fd17994b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1331, times = table: 0x7f9fd17995f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1799690, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1796060, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1796240, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17962e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1796560, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1796650, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17f6020, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17f64d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17dd070, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2200, times = table: 0x7f9fd17dd480, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17dd520, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17dd750, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179a7d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179a870, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179a910, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179a9b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179ab40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd179ae60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17d3ac0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17d3b60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17d3c50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17ae170, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17ae260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17ae530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17ae670, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17ae710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17d4a40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17d4d60, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd17940a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7f9fd1794230, 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 = "þ8Éè'", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.22.241" }, { mac = "þ8Éè'", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::fc38:4ff:fec9:e827" } } ok 63 misc - uv.interface_addresses { 3.48, 4.86, 4.7 } ok 64 misc - uv.loadavg "/usr/bin/lua5.1" ok 65 misc - uv.exepath "/home/buildozer" ok 66 misc - uv.os_homedir "/tmp" ok 67 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/ash" } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.5713544234131e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { release = "5.15.108-0-lts", machine = "x86_64", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1684171668 uv.gettimeofday 1684171668.000145 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: 0x7f9fd177c390 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f9fd177c410 "timeout" uv_timer_t: 0x7f9fd178e880 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f9fd177ce90 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: 0x7f9fd1781490, pid = 62298 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x7f9fd1781520, pid = 62299 } "exit" uv_process_t: 0x7f9fd1781520 { status = 0, signal = 2 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x7f9fd17815b0, pid = 62300 } "exit" uv_process_t: 0x7f9fd17815b0 { status = 0, signal = 15 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x7f9fd1781760, pid = 62302 } "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 = 62304, code = 0 } ok 95 signal - Catch SIGINT { address = { family = "inet", port = 44489, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd1785da0 } { req = uv_connect_t: 0x7f9fd1781c08, client = uv_tcp_t: 0x7f9fd1785ed0 } "server on connection" uv_tcp_t: 0x7f9fd1785da0 "client on connect" uv_tcp_t: 0x7f9fd1785ed0 nil "client on shutdown" uv_tcp_t: 0x7f9fd1785ed0 nil "client on close" uv_tcp_t: 0x7f9fd1785ed0 ok 96 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 35685, ip = "::1" }, server = uv_tcp_t: 0x7f9fd17f9460 } { req = uv_connect_t: 0x7f9fd1781c98, client = uv_tcp_t: 0x7f9fd17f9580 } "server on connection" uv_tcp_t: 0x7f9fd17f9460 "client on connect" uv_tcp_t: 0x7f9fd17f9580 nil "client on shutdown" uv_tcp_t: 0x7f9fd17f9580 nil "client on close" uv_tcp_t: 0x7f9fd17f9580 ok 97 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 45063, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd179ec50 } { req = uv_write_t: 0x7f9fd17fe8f8, socket = uv_tcp_t: 0x7f9fd17854b0 } "client onwrite" uv_tcp_t: 0x7f9fd17854b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { address = { family = "inet", port = 41005, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd1785810 } { req = uv_write_t: 0x7f9fd17fe8f8, socket = uv_tcp_t: 0x7f9fd1785db0 } "client onwrite" uv_tcp_t: 0x7f9fd1785db0 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 = 44115, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd17f9560 } { req = uv_write_t: 0x7f9fd1862b28, socket = uv_tcp_t: 0x7f9fd179ec30 } "client onwrite" uv_tcp_t: 0x7f9fd179ec30 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { address = { family = "inet", port = 42467, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd17856d0 } { req = uv_write_t: 0x7f9fd1862c28, socket = uv_tcp_t: 0x7f9fd17857f0 } "client onwrite" uv_tcp_t: 0x7f9fd17857f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { address = { family = "inet", port = 34761, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd1785ec0 } { req = uv_write_t: 0x7f9fd1862b28, socket = uv_tcp_t: 0x7f9fd17f9450 } "client onwrite" uv_tcp_t: 0x7f9fd17f9450 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { address = { family = "inet", port = 33285, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7f9fd179ec40 } { req = uv_write_t: 0x7f9fd1862b28, socket = uv_tcp_t: 0x7f9fd17854a0 } "client onwrite" uv_tcp_t: 0x7f9fd17854a0 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: 0x7f9fcf760b38 { delay = 100, elapsed = 102 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7f9fd192fb48 Runing uv_thread_t: 0x7f9fd192fb48 { delay = 100, elapsed = 100 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x7f9fd178ea60 "closed" uv_timer_t: 0x7f9fd178ea60 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7f9fd18676a0 "interval" uv_timer_t: 0x7f9fd18676a0 "interval" uv_timer_t: 0x7f9fd18676a0 "closed" uv_timer_t: 0x7f9fd18676a0 ok 111 timer - simple interval "interval" uv_timer_t: 0x7f9fd178e920 "timeout" uv_timer_t: 0x7f9fd178e880 "interval" uv_timer_t: 0x7f9fd178e920 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7f9fd178ea60 0 "interval" uv_timer_t: 0x7f9fd178ea60 8 "interval" uv_timer_t: 0x7f9fd178ea60 4 "interval" uv_timer_t: 0x7f9fd178ea60 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7f9fd18676a0 0 "interval" uv_timer_t: 0x7f9fd18676a0 8 "interval" uv_timer_t: 0x7f9fd18676a0 4 "interval" uv_timer_t: 0x7f9fd18676a0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x7f9fd17fe8e0 } { req = 0, client = uv_udp_t: 0x7f9fd1862b10 } "client on send" uv_udp_t: 0x7f9fd1862b10 nil "server on recv" uv_udp_t: 0x7f9fd17fe8e0 "PING" { family = "inet", port = 36880, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f9fd17fe8e0 "client on close" uv_udp_t: 0x7f9fd1862b10 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f9fd17fe8d0 } { req = 0, client = uv_udp_t: 0x7f9fd1862c10 } "client on send" uv_udp_t: 0x7f9fd1862c10 nil "server on recv" uv_udp_t: 0x7f9fd17fe8d0 "PING" { family = "inet", port = 34315, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7f9fd17fe8d0 "client on close" uv_udp_t: 0x7f9fd1862c10 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x7f9fd17fe8e0 } { req = 0, client = uv_udp_t: 0x7f9fd1862b10 } "client on send" uv_udp_t: 0x7f9fd1862b10 nil "server on recv" uv_udp_t: 0x7f9fd17fe8e0 "PING" { family = "inet6", port = 54250, ip = "::1" } { } "server on close" uv_udp_t: 0x7f9fd17fe8e0 "client on close" uv_udp_t: 0x7f9fd1862b10 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: 0x7f9fd17e06f0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7f9fd17e06f0 "PING" { family = "inet", port = 45541, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f9fd17e06f0 "PING" { family = "inet", port = 51599, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f9fd17e06f0 "PING" { family = "inet", port = 51599, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7f9fd17e06f0 nil nil { } "server on recv" uv_udp_t: 0x7f9fd17e06f0 "PING" { family = "inet", port = 48173, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7f9fd17fe8e0 "server on close" uv_udp_t: 0x7f9fd17e06f0 ok 121 udp - udp connect "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, ip = "127.0.0.1" } "PING" { family = "inet", port = 54447, 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: 0x7f9fcff63b38" "hello" uv_thread_t: 0x7f9fcff63b38 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: 0x7f17e9847ae0 "closed" uv_timer_t: 0x7f17e9847ae0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f17e9847ae0 "closed" { } uv_timer_t: 0x7f17e9847ae0 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", addr = "::1", family = "inet6", protocol = "tcp", port = 80 }, { socktype = "stream", addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80 } } 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 { { socktype = "stream", addr = "206.189.225.172", family = "inet", protocol = "tcp", canonname = "luvit.io" }, { socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "tcp", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { socktype = "stream", addr = "206.189.225.172", family = "inet", protocol = "tcp", canonname = "luvit.io" }, { socktype = "dgram", addr = "206.189.225.172", family = "inet", protocol = "udp", canonname = "luvit.io" }, { socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "tcp", canonname = "luvit.io" }, { socktype = "dgram", addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", protocol = "udp", canonname = "luvit.io" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "localhost", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "localhost", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { blksize = 4096, type = "file", size = 6353, mode = 33188, ino = 21136227, uid = 1000, rdev = 0, birthtime = table: 0x7f17e985a440, gen = 0, nlink = 1, ctime = table: 0x7f17e985a3c0, mtime = table: 0x7f17e985a340, gid = 1000, dev = 64769, atime = table: 0x7f17e985a2c0, flags = 0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { blksize = 4096, type = "file", size = 6353, mode = 33188, ino = 21136227, uid = 1000, rdev = 0, birthtime = table: 0x7f17e9869b50, gen = 0, nlink = 1, ctime = table: 0x7f17e9869a90, mtime = table: 0x7f17e98699d0, gid = 1000, dev = 64769, atime = table: 0x7f17e9869910, flags = 0, 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 { 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: 0x7f17e985cec8 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 { bavail = 43450609, bfree = 54389130, ffree = 46859774, files = 54673408, bsize = 4096, type = 61267, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 43450609, bfree = 54389130, ffree = 46859774, files = 54673408, bsize = 4096, type = 61267, blocks = 214974462 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 56 misc - uv.guess_handle { version = 76802, version_string = "1.44.2" } ok 57 misc - uv.version and uv.version_string { free = 64961777664.0, rss = 1904640, total = 67493289984.0, constrained = 0.0 } ok 58 misc - memory size { uptime = 1571361.41 } ok 59 misc - uv.uptime { nivcsw = 3, inblock = 0, utime = { usec = 78352, sec = 0 }, nvcsw = 63, msgsnd = 0, msgrcv = 0, idrss = 0, nsignals = 0, minflt = 585, maxrss = 2128, oublock = 80, isrss = 0, stime = { usec = 26592, sec = 0 }, ixrss = 0, nswap = 0, majflt = 0 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e986cdf0, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853060, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853220, speed = 1900.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853620, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853760, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a200, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a340, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a440, speed = 1199.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9869850, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9869a50, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9869bd0, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9869d10, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e986cd70, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853120, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9853720, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a300, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e98822e0, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9869b50, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e98eee10, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e98536a0, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9882220, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e9888e70, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a380, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e985a830, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821000, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821100, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821200, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821300, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821400, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821500, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821600, speed = 1200.0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f17e7821700, speed = 1200.0 } } ok 62 misc - uv.cpu_info "eth0" { { family = "inet", netmask = "255.255.255.0", internal = false, mac = "þ8Éè'", ip = "172.16.22.241" }, { family = "inet6", netmask = "ffff:ffff:ffff:ffff::", internal = false, mac = "þ8Éè'", ip = "fe80::fc38:4ff:fec9:e827" } } "lo" { { family = "inet", netmask = "255.0.0.0", internal = true, mac = "\0\0\0\0\0\0", ip = "127.0.0.1" }, { family = "inet6", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, mac = "\0\0\0\0\0\0", ip = "::1" } } ok 63 misc - uv.interface_addresses { 3.2, 4.78, 4.67 } ok 64 misc - uv.loadavg "/usr/bin/lua5.4" ok 65 misc - uv.exepath "/home/buildozer" ok 66 misc - uv.os_homedir "/tmp" ok 67 misc - uv.os_tmpdir { shell = "/bin/ash", username = "buildozer", gid = 1000, uid = 1000, homedir = "/home/buildozer" } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.571361442263e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { machine = "x86_64", release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000", sysname = "Linux" } ok 72 misc - uv.os_uname os.time 1684171675 uv.gettimeofday 1684171675.000163 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: 0x7f17e9889490 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f17e9889510 "timeout" uv_timer_t: 0x7f17e9847ae0 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f17e9889590 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: 0x7f17e98900a0, pid = 62314 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 87 process - process stdout { handle = uv_process_t: 0x7f17e9890400, pid = 62315 } "exit" uv_process_t: 0x7f17e9890400 { signal = 2, status = 0 } ok 88 process - spawn and kill by pid { handle = uv_process_t: 0x7f17e98905b0, pid = 62316 } "exit" uv_process_t: 0x7f17e98905b0 { signal = 15, status = 0 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { handle = uv_process_t: 0x7f17e988e520, pid = 62318 } "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" { code = 0, pid = 62320, signal = 0 } ok 95 signal - Catch SIGINT { server = uv_tcp_t: 0x7f17e983f6e0, address = { ip = "127.0.0.1", port = 35345, family = "inet" } } { client = uv_tcp_t: 0x7f17e9853eb0, req = uv_connect_t: 0x7f17e9847b18 } "server on connection" uv_tcp_t: 0x7f17e983f6e0 "client on connect" uv_tcp_t: 0x7f17e9853eb0 nil "client on shutdown" uv_tcp_t: 0x7f17e9853eb0 nil "client on close" uv_tcp_t: 0x7f17e9853eb0 ok 96 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f17e9853e90, address = { ip = "::1", port = 37629, family = "inet6" } } { client = uv_tcp_t: 0x7f17e983f3a0, req = uv_connect_t: 0x7f17e9847b18 } "server on connection" uv_tcp_t: 0x7f17e9853e90 "client on connect" uv_tcp_t: 0x7f17e983f3a0 nil "client on shutdown" uv_tcp_t: 0x7f17e983f3a0 nil "client on close" uv_tcp_t: 0x7f17e983f3a0 ok 97 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f17e9853ea0, address = { ip = "127.0.0.1", port = 40253, family = "inet" } } { req = uv_write_t: 0x7f17e983f738, socket = uv_tcp_t: 0x7f17e983f380 } "client onwrite" uv_tcp_t: 0x7f17e983f380 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f17e983f390, address = { ip = "127.0.0.1", port = 36409, family = "inet" } } { req = uv_write_t: 0x7f17e983f058, socket = uv_tcp_t: 0x7f17e9853d80 } "client onwrite" uv_tcp_t: 0x7f17e9853d80 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: 0x7f17e9853e90, address = { ip = "127.0.0.1", port = 43443, family = "inet" } } { req = uv_write_t: 0x7f17e983f718, socket = uv_tcp_t: 0x7f17e983f3a0 } "client onwrite" uv_tcp_t: 0x7f17e983f3a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { server = uv_tcp_t: 0x7f17e9853d80, address = { ip = "127.0.0.1", port = 33429, family = "inet" } } { req = uv_write_t: 0x7f17e983f4e8, socket = uv_tcp_t: 0x7f17e983f040 } "client onwrite" uv_tcp_t: 0x7f17e983f040 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f17e9853d90, address = { ip = "127.0.0.1", port = 39891, family = "inet" } } { req = uv_write_t: 0x7f17e983f4d8, socket = uv_tcp_t: 0x7f17e983f020 } "client onwrite" uv_tcp_t: 0x7f17e983f020 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f17e9853eb0, address = { ip = "127.0.0.1", port = 46839, family = "inet" } } { req = uv_write_t: 0x7f17e983f738, socket = uv_tcp_t: 0x7f17e983f3a0 } "client onwrite" uv_tcp_t: 0x7f17e983f3a0 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: 0x7f17e781fb38 { delay = 100, elapsed = 101 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7f17e9a67b48 Runing uv_thread_t: 0x7f17e9a67b48 { delay = 100, elapsed = 100 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x7f17e9847ae0 "closed" uv_timer_t: 0x7f17e9847ae0 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7f17e9847ae0 "interval" uv_timer_t: 0x7f17e9847ae0 "interval" uv_timer_t: 0x7f17e9847ae0 "closed" uv_timer_t: 0x7f17e9847ae0 ok 111 timer - simple interval "interval" uv_timer_t: 0x7f17e9848f60 "timeout" uv_timer_t: 0x7f17e9847ae0 "interval" uv_timer_t: 0x7f17e9848f60 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7f17e9847ae0 0 "interval" uv_timer_t: 0x7f17e9847ae0 8 "interval" uv_timer_t: 0x7f17e9847ae0 4 "interval" uv_timer_t: 0x7f17e9847ae0 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7f17e9847ae0 0 "interval" uv_timer_t: 0x7f17e9847ae0 8 "interval" uv_timer_t: 0x7f17e9847ae0 4 "interval" uv_timer_t: 0x7f17e9847ae0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x7f17e9886cc0 } { client = uv_udp_t: 0x7f17e9849b40, req = 0 } "client on send" uv_udp_t: 0x7f17e9849b40 nil "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "127.0.0.1", port = 37758, family = "inet" } { } "server on close" uv_udp_t: 0x7f17e9886cc0 "client on close" uv_udp_t: 0x7f17e9849b40 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f17e9886cb0 } { client = uv_udp_t: 0x7f17e984ab00, req = 0 } "client on send" uv_udp_t: 0x7f17e984ab00 nil "server on recv" uv_udp_t: 0x7f17e9886cb0 "PING" { ip = "127.0.0.1", port = 42689, family = "inet" } { } "server on close" uv_udp_t: 0x7f17e9886cb0 "client on close" uv_udp_t: 0x7f17e984ab00 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x7f17e9886cc0 } { client = uv_udp_t: 0x7f17e984b6d0, req = 0 } "client on send" uv_udp_t: 0x7f17e984b6d0 nil "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "::1", port = 48615, family = "inet6" } { } "server on close" uv_udp_t: 0x7f17e9886cc0 "client on close" uv_udp_t: 0x7f17e984b6d0 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: 0x7f17e9886cc0 } { ip = "127.0.0.1", port = 9123, family = "inet" } "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "127.0.0.1", port = 42546, family = "inet" } { } "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "127.0.0.1", port = 50526, family = "inet" } { } "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "127.0.0.1", port = 50526, family = "inet" } { } "server on recv" uv_udp_t: 0x7f17e9886cc0 nil nil { } "server on recv" uv_udp_t: 0x7f17e9886cc0 "PING" { ip = "127.0.0.1", port = 51313, family = "inet" } { } "client on close" uv_udp_t: 0x7f17e984ca80 "server on close" uv_udp_t: 0x7f17e9886cc0 ok 121 udp - udp connect "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, family = "inet" } "PING" { ip = "127.0.0.1", port = 48938, 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.0 2.0 4.0 "uv_thread_t: 0x7f17e8035b38" "hello" uv_thread_t: 0x7f17e8035b38 finish hello ok 125 work - test threadpool with async 1 2 3 4 5 6 7 8 ok 126 work - test threadpool with coro ok 127 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 128 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..128 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7f4265d6c410 "closed" uv_timer_t: 0x7f4265d6c410 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f4265d6c370 "closed" { } uv_timer_t: 0x7f4265d6c370 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", family = "inet6", addr = "::1", port = 80, protocol = "tcp" }, { socktype = "stream", family = "inet", addr = "127.0.0.1", port = 80, protocol = "tcp" } } 2 ok 8 dns - Get all local http addresses { { socktype = "stream", family = "inet6", protocol = "tcp", port = 80, addr = "::1" }, { socktype = "stream", family = "inet", protocol = "tcp", port = 80, addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172", protocol = "tcp" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", family = "inet", canonname = "luvit.io", socktype = "stream", protocol = "tcp" }, { addr = "2604:a880:400:d0::1b9f:2001", family = "inet6", canonname = "luvit.io", socktype = "stream", protocol = "tcp" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", family = "inet", socktype = "stream" }, { addr = "206.189.225.172", protocol = "udp", canonname = "luvit.io", family = "inet", socktype = "dgram" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", canonname = "luvit.io", family = "inet6", socktype = "stream" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", canonname = "luvit.io", family = "inet6", socktype = "dgram" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "localhost", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "localhost", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 13 } { stat = { mtime = table: 0x7f4265c37ff0, ctime = table: 0x7f4265c32070, birthtime = table: 0x7f4265c30e28, size = 6353, type = "file", dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 21136227, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0x7f4265c38d58 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 13 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 21136227, blksize = 4096, blocks = 16, flags = 0, gen = 0, type = "file", birthtime = table: 0x7f4265c1a250, ctime = table: 0x7f4265c32070, mtime = table: 0x7f4265c37ff0, atime = table: 0x7f4265c38d58, size = 6353 } } { 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 { 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 { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "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: 0x7f4265c07070 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 { bavail = 43450601, type = 61267, bsize = 4096, blocks = 214974462, bfree = 54389122, files = 54673408, ffree = 46859774 } ok 41 fs - fs.statfs sync { bavail = 43450601, type = 61267, bsize = 4096, blocks = 214974462, bfree = 54389122, files = 54673408, ffree = 46859774 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 56 misc - uv.guess_handle { version_string = "1.44.2", version = 76802 } ok 57 misc - uv.version and uv.version_string { rss = 2560000, total = 67493289984, constrained = 0, free = 64960819200 } ok 58 misc - memory size { uptime = 1571368.41 } ok 59 misc - uv.uptime { msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 59, nivcsw = 1, utime = { usec = 114903, sec = 0 }, stime = { usec = 20260, sec = 0 }, maxrss = 4000, ixrss = 0, idrss = 0, isrss = 0, minflt = 575, majflt = 0, nswap = 0, inblock = 0, oublock = 72 } ok 60 misc - uv.getrusage 32 ok 61 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c25050 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c27e70 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c16378 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c10a58 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c2f060 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c18b48 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c3a910 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c08ba8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c218e8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c0fea8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c2a158 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c31598 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c36d50 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c1bd90 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265bdc010 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c08db8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265be6830 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c27a00 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c17958 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1588, times = table: 0x7f4265bdfe40 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c2f6a0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c11808 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265be5d08 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c36a18 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c0fbd8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265ca5770 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265be4df0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c15c18 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c0d008 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c9a418 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c3cd60 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7f4265c37598 } } ok 62 misc - uv.cpu_info "lo" { { ip = "127.0.0.1", mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", family = "inet", internal = true }, { ip = "::1", mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true } } "eth0" { { ip = "172.16.22.241", mac = "þ8Éè'", netmask = "255.255.255.0", family = "inet", internal = false }, { ip = "fe80::fc38:4ff:fec9:e827", mac = "þ8Éè'", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false } } ok 63 misc - uv.interface_addresses { 2.71, 4.62, 4.62 } 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/ash" } ok 68 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.44.2-1" "/" ok 69 misc - uv.cwd and uv.chdir 1.5713684459739e+15 ok 70 misc - uv.hrtime ok 71 misc - uv.getpid { sysname = "Linux", machine = "x86_64", release = "5.15.108-0-lts", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000" } ok 72 misc - uv.os_uname os.time 1684171682 uv.gettimeofday 1684171682.000168 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: 0x7f4265cd13c0 ok 82 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f4265c1c420 "timeout" uv_timer_t: 0x7f4265d6c410 ok 83 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f4265cd13c0 ok 84 prepare-check-idle-async - simple idle ok 85 prepare-check-idle-async - simple async ok 86 process - test disable_stdio_inheritance { pid = 62330, handle = uv_process_t: 0x7f4265d6c420 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 87 process - process stdout { pid = 62331, handle = uv_process_t: 0x7f4265d6c370 } "exit" uv_process_t: 0x7f4265d6c370 { signal = 2, status = 0 } ok 88 process - spawn and kill by pid { pid = 62332, handle = uv_process_t: 0x7f4265d6c410 } "exit" uv_process_t: 0x7f4265d6c410 { signal = 15, status = 0 } ok 89 process - spawn and kill by handle ok 90 process - invalid command { pid = 62334, handle = uv_process_t: 0x7f4265d6c420 } "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" { signal = 0, code = 0, pid = 62336 } ok 95 signal - Catch SIGINT { server = uv_tcp_t: 0x7f4265c1c190, address = { family = "inet", ip = "127.0.0.1", port = 38027 } } { req = uv_connect_t: 0x7f4265c27820, client = uv_tcp_t: 0x7f4265c1c570 } "server on connection" uv_tcp_t: 0x7f4265c1c190 "client on connect" uv_tcp_t: 0x7f4265c1c570 nil "client on shutdown" uv_tcp_t: 0x7f4265c1c570 nil "client on close" uv_tcp_t: 0x7f4265c1c570 ok 96 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f4265c1c6c0, address = { family = "inet6", ip = "::1", port = 42015 } } { req = uv_connect_t: 0x7f4265c27820, client = uv_tcp_t: 0x7f4265c1c1a0 } "server on connection" uv_tcp_t: 0x7f4265c1c6c0 "client on connect" uv_tcp_t: 0x7f4265c1c1a0 nil "client on shutdown" uv_tcp_t: 0x7f4265c1c1a0 nil "client on close" uv_tcp_t: 0x7f4265c1c1a0 ok 97 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f4265c1c580, address = { family = "inet", ip = "127.0.0.1", port = 42341 } } { socket = uv_tcp_t: 0x7f4265c1c6d0, req = uv_write_t: 0x7f4265ca5318 } "client onwrite" uv_tcp_t: 0x7f4265c1c6d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 98 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f4265c1c590, address = { family = "inet", ip = "127.0.0.1", port = 34039 } } { socket = uv_tcp_t: 0x7f4265c1c6e0, req = uv_write_t: 0x7f4265bddd08 } "client onwrite" uv_tcp_t: 0x7f4265c1c6e0 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: 0x7f4265c1c6a0, address = { family = "inet", ip = "127.0.0.1", port = 33241 } } { socket = uv_tcp_t: 0x7f4265c1c180, req = uv_write_t: 0x7f4265ca5318 } "client onwrite" uv_tcp_t: 0x7f4265c1c180 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 101 tcp - tcp close reset client { server = uv_tcp_t: 0x7f4265c1c190, address = { family = "inet", ip = "127.0.0.1", port = 35125 } } { socket = uv_tcp_t: 0x7f4265c1c570, req = uv_write_t: 0x7f4265ca5318 } "client onwrite" uv_tcp_t: 0x7f4265c1c570 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 102 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f4265c1c1a0, address = { family = "inet", ip = "127.0.0.1", port = 35931 } } { socket = uv_tcp_t: 0x7f4265c1c580, req = uv_write_t: 0x7f4265ca5318 } "client onwrite" uv_tcp_t: 0x7f4265c1c580 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 103 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f4265c1c1b0, address = { family = "inet", ip = "127.0.0.1", port = 45533 } } { socket = uv_tcp_t: 0x7f4265c1c590, req = uv_write_t: 0x7f4265ca5318 } "client onwrite" uv_tcp_t: 0x7f4265c1c590 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: 0x7f4263b64b30 { delay = 100, elapsed = 102 } ok 106 thread - test thread create ok 107 thread - test thread create with arguments Runing uv_thread_t: 0x7f4265cd1c10 Runing uv_thread_t: 0x7f4265cd1c10 { delay = 100, elapsed = 101 } ok 108 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 109 thread - test thread create with options table "timeout" uv_timer_t: 0x7f4265d6c2d0 "closed" uv_timer_t: 0x7f4265d6c2d0 ok 110 timer - simple timeout "interval" uv_timer_t: 0x7f4265d6c2d0 "interval" uv_timer_t: 0x7f4265d6c2d0 "interval" uv_timer_t: 0x7f4265d6c2d0 "closed" uv_timer_t: 0x7f4265d6c2d0 ok 111 timer - simple interval "interval" uv_timer_t: 0x7f4265d6c370 "timeout" uv_timer_t: 0x7f4265d6c2d0 "interval" uv_timer_t: 0x7f4265d6c370 ok 112 timer - timeout with interval "interval" uv_timer_t: 0x7f4265d6c2d0 0 "interval" uv_timer_t: 0x7f4265d6c2d0 8 "interval" uv_timer_t: 0x7f4265d6c2d0 4 "interval" uv_timer_t: 0x7f4265d6c2d0 2 ok 113 timer - shrinking interval "interval" uv_timer_t: 0x7f4265d6c2d0 0 "interval" uv_timer_t: 0x7f4265d6c2d0 8 "interval" uv_timer_t: 0x7f4265d6c2d0 4 "interval" uv_timer_t: 0x7f4265d6c2d0 2 ok 114 timer - shrinking interval using methods ok 115 timer - timer init ok 116 timer - timer huge timeout { server = uv_udp_t: 0x55a0f22abee0 } { req = 0, client = uv_udp_t: 0x7f4265d6cec0 } "client on send" uv_udp_t: 0x7f4265d6cec0 nil "server on recv" uv_udp_t: 0x55a0f22abee0 "PING" { family = "inet", ip = "127.0.0.1", port = 53433 } { } "server on close" uv_udp_t: 0x55a0f22abee0 "client on close" uv_udp_t: 0x7f4265d6cec0 ok 117 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x55a0f22abed0 } { req = 0, client = uv_udp_t: 0x7f4265d6ceb0 } "client on send" uv_udp_t: 0x7f4265d6ceb0 nil "server on recv" uv_udp_t: 0x55a0f22abed0 "PING" { family = "inet", ip = "127.0.0.1", port = 44815 } { } "server on close" uv_udp_t: 0x55a0f22abed0 "client on close" uv_udp_t: 0x7f4265d6ceb0 ok 118 udp - basic udp send from table { server = uv_udp_t: 0x55a0f22abee0 } { req = 0, client = uv_udp_t: 0x7f4265d6cec0 } "client on send" uv_udp_t: 0x7f4265d6cec0 nil "server on recv" uv_udp_t: 0x55a0f22abee0 "PING" { family = "inet6", ip = "::1", port = 45630 } { } "server on close" uv_udp_t: 0x55a0f22abee0 "client on close" uv_udp_t: 0x7f4265d6cec0 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: 0x7f4265d6ceb0 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x7f4265d6ceb0 "PING" { family = "inet", ip = "127.0.0.1", port = 58825 } { } "server on recv" uv_udp_t: 0x7f4265d6ceb0 "PING" { family = "inet", ip = "127.0.0.1", port = 53772 } { } "server on recv" uv_udp_t: 0x7f4265d6ceb0 "PING" { family = "inet", ip = "127.0.0.1", port = 53772 } { } "server on recv" uv_udp_t: 0x7f4265d6ceb0 nil nil { } "server on recv" uv_udp_t: 0x7f4265d6ceb0 "PING" { family = "inet", ip = "127.0.0.1", port = 57962 } { } "client on close" uv_udp_t: 0x55a0f22abee0 "server on close" uv_udp_t: 0x7f4265d6ceb0 ok 121 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } "PING" { family = "inet", ip = "127.0.0.1", port = 50644 } 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: 0x7f42643d2b30" "hello" uv_thread_t: 0x7f42643d2b30 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 0x7f4265c77b8d 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-r4.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.44.2.1-r4 pkgconfig >>> lua-luv-dev*: Package size: 56.0 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.44.2.1-r4.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 284.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.44.2.1-r4.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.44.2.1-r4.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 188.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.44.2.1-r4.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86_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-r4.apk >>> lua-luv: Build complete at Mon, 15 May 2023 17:28:09 +0000 elapsed time 0h 0m 42s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/20) Purging .makedepends-lua-luv (20230515.172729) (2/20) Purging cmake (3.26.3-r1) (3/20) Purging libuv-dev (1.44.2-r3) (4/20) Purging libuv (1.44.2-r3) (5/20) Purging lua-compat53-dev (0.10-r1) (6/20) Purging luajit-dev (2.1_p20230410-r3) (7/20) Purging luajit (2.1_p20230410-r3) (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.6-r0) (12/20) Purging lua5.4 (5.4.6-r0) (13/20) Purging lua5.4-libs (5.4.6-r0) (14/20) Purging libarchive (3.6.2-r3) (15/20) Purging libbz2 (1.0.8-r6) (16/20) Purging libformw (6.4_p20230514-r0) (17/20) Purging readline (8.2.1-r2) (18/20) Purging rhash-libs (1.4.3-r2) (19/20) Purging samurai (1.2-r3) (20/20) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.0-r11.trigger OK: 374 MiB in 102 packages >>> lua-luv: Updating the community/x86_64 repository index... >>> lua-luv: Signing the index...