>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.11.20-r0) started Thu, 06 Jul 2023 13:40:34 +0000 >>> lua-luv: Checking sanity of /home/buildozer/aports/community/lua-luv/APKBUILD... >>> WARNING: lua-luv: No maintainer >>> lua-luv: Analyzing dependencies... >>> lua-luv: Installing for build: build-base cmake libuv-dev lua-compat53-dev ninja luajit-dev lua5.1-dev lua5.4-dev (1/19) Installing libbz2 (1.0.8-r6) (2/19) Installing xz-libs (5.4.3-r1) (3/19) Installing libarchive (3.6.2-r3) (4/19) Installing rhash-libs (1.4.3-r2) (5/19) Installing libuv (1.46.0-r0) (6/19) Installing cmake (3.26.4-r2) (7/19) Installing libuv-dev (1.46.0-r0) (8/19) Installing lua-compat53-dev (0.10-r1) (9/19) Installing samurai (1.2-r4) (10/19) Installing luajit (2.1_p20230410-r3) (11/19) Installing luajit-dev (2.1_p20230410-r3) (12/19) Installing lua5.1-libs (5.1.5-r12) (13/19) Installing lua5.1 (5.1.5-r12) (14/19) Installing lua5.1-dev (5.1.5-r12) (15/19) Installing lua5.4-libs (5.4.6-r0) (16/19) Installing readline (8.2.1-r2) (17/19) Installing lua5.4 (5.4.6-r0) (18/19) Installing lua5.4-dev (5.4.6-r0) (19/19) Installing .makedepends-lua-luv (20230706.134036) Executing busybox-1.36.1-r3.trigger OK: 434 MiB in 124 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.45.0-0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 127k 100 127k 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/edge/lua-luv-1.45.0-0.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.45.0-0.tar.gz: OK disable-udp-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/edge/lua-luv-1.45.0-0.tar.gz... >>> lua-luv: disable-udp-test.patch patching file tests/test-udp.lua -- 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 -- 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.45.0-0/build-5.1 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared library libluv.so.1.45.0 [4/5] Linking C shared module luv.so [5/5] Creating library symlink libluv.so.1 libluv.so -- 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 -- 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.45.0-0/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- 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 -- 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.45.0-0/build-jit [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared library libluv.so.1.45.0 [4/5] Linking C shared module luv.so [5/5] Creating library symlink libluv.so.1 libluv.so -- 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 -- 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.45.0-0/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C shared module luv.so [4/4] Linking C static library libluv.a >>> lua-luv: Running tests with lua5.1 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7fe8e90034e0 "closed" uv_timer_t: 0x7fe8e90034e0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7fe8e9003580 "closed" { } uv_timer_t: 0x7fe8e9003580 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 = 29 } { stat = { nlink = 1, ino = 21270616, mtime = table: 0x7fe8e9024490, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7fe8e9024440, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7fe8e9024670, birthtime = table: 0x7fe8e90246c0, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 29 } { stat = { nlink = 1, ino = 21270616, mtime = table: 0x7fe8e8fdf2b0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0x7fe8e8fdefe0, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0x7fe8e8fdf300, birthtime = table: 0x7fe8e8fdf350, blocks = 16 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "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 = ".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 = ".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: 0x7fe8e904eab8 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 = ".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 = ".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 = ".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 = 38130114, type = 61267, bsize = 4096, files = 54673408, bfree = 49068635, ffree = 46299698, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 38130114, type = 61267, bsize = 4096, files = 54673408, bfree = 49068635, ffree = 46299698, blocks = 214974462 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { rss = 1757184, total = 67493289984, free = 63023026176, constrained = 0, available = 63023026176 } ok 59 misc - memory size { uptime = 1791757.92 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 722414, sec = 0 }, oublock = 80, stime = { usec = 65162, sec = 0 }, nivcsw = 4, minflt = 912, idrss = 0, majflt = 0, nvcsw = 64, isrss = 0, nswap = 0, maxrss = 2204, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 2099, times = table: 0x7fe8e9015570, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2100, times = table: 0x7fe8e90157a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2100, times = table: 0x7fe8e90027a0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2099, times = table: 0x7fe8e9002930, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2100, times = table: 0x7fe8e9002a70, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2100, times = table: 0x7fe8e9002b10, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 2100, times = table: 0x7fe8e9002c50, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1773, times = table: 0x7fe8e9002d40, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9002de0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9002e80, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e90380d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e90381c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9038260, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9038300, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9038490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9038580, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1437, times = table: 0x7fe8e9038710, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e90172b0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9017350, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e90173f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9017490, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9017530, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e90175d0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9017760, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9002000, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e90020f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e9002280, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e90023c0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e9002500, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e90025f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1200, times = table: 0x7fe8e903d7f0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" }, { speed = 1199, times = table: 0x7fe8e903d8e0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz" } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", internal = true, family = "inet", ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", ip = "::1" } } "eth0" { { mac = "þ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 64 misc - uv.interface_addresses { 5.85, 6.58, 7.47 } ok 65 misc - uv.loadavg "/usr/bin/lua5.1" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 1000, gid = 1000, homedir = "/home/buildozer", shell = "/bin/ash" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.7917584760098e+15 ok 71 misc - uv.hrtime ok 72 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 73 misc - uv.os_uname os.time 1688650858 uv.gettimeofday 1688650858.000649 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 504936737, sec = 1791759 } nil "realtime" { nsec = 505004077, sec = 1791759 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0x7fe8e8fda790 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7fe8e8fda810 "timeout" uv_timer_t: 0x7fe8e9003300 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7fe8e8fda890 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0x7fe8e8fef370, pid = 2748 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7fe8e8fef400, pid = 2749 } "exit" uv_process_t: 0x7fe8e8fef400 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7fe8e8fef520, pid = 2750 } "exit" uv_process_t: 0x7fe8e8fef520 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7fe8e8fef640, pid = 2752 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 2755, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 41591, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e9025a00 } { req = uv_connect_t: 0x7fe8e8fefae8, client = uv_tcp_t: 0x7fe8e9025b20 } "server on connection" uv_tcp_t: 0x7fe8e9025a00 "client on connect" uv_tcp_t: 0x7fe8e9025b20 nil "client on shutdown" uv_tcp_t: 0x7fe8e9025b20 nil "client on close" uv_tcp_t: 0x7fe8e9025b20 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 40693, ip = "::1" }, server = uv_tcp_t: 0x7fe8e9025690 } { req = uv_connect_t: 0x7fe8e8fefb78, client = uv_tcp_t: 0x7fe8e8fdb140 } "server on connection" uv_tcp_t: 0x7fe8e9025690 "client on connect" uv_tcp_t: 0x7fe8e8fdb140 nil "client on shutdown" uv_tcp_t: 0x7fe8e8fdb140 nil "client on close" uv_tcp_t: 0x7fe8e8fdb140 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 34827, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e8fdb390 } { req = uv_write_t: 0x7fe8e90e6b28, socket = uv_tcp_t: 0x7fe8e8fdb4a0 } "client onwrite" uv_tcp_t: 0x7fe8e8fdb4a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 41829, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e8fdb6f0 } { req = uv_write_t: 0x7fe8e9079be8, socket = uv_tcp_t: 0x7fe8e8fdb810 } "client onwrite" uv_tcp_t: 0x7fe8e8fdb810 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { address = { family = "inet", port = 36011, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e8fdbb70 } { req = uv_write_t: 0x7fe8e9079ae8, socket = uv_tcp_t: 0x7fe8e8fdbc90 } "client onwrite" uv_tcp_t: 0x7fe8e8fdbc90 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 45713, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e9026810 } { req = uv_write_t: 0x7fe8e90e6b28, socket = uv_tcp_t: 0x7fe8e8ff26f0 } "client onwrite" uv_tcp_t: 0x7fe8e8ff26f0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 39569, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e8ffd5c0 } { req = uv_write_t: 0x7fe8e9079ae8, socket = uv_tcp_t: 0x7fe8e9025a10 } "client onwrite" uv_tcp_t: 0x7fe8e9025a10 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 35791, ip = "127.0.0.1" }, server = uv_tcp_t: 0x7fe8e90256a0 } { req = uv_write_t: 0x7fe8e9079be8, socket = uv_tcp_t: 0x7fe8e8fdb150 } "client onwrite" uv_tcp_t: 0x7fe8e8fdb150 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0x7fe8e6fcdb38 { delay = 100, elapsed = 103 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7fe8e91b0b48 Runing uv_thread_t: 0x7fe8e91b0b48 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0x7fe8e9003620 "closed" uv_timer_t: 0x7fe8e9003620 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7fe8e9007530 "interval" uv_timer_t: 0x7fe8e9007530 "interval" uv_timer_t: 0x7fe8e9007530 "closed" uv_timer_t: 0x7fe8e9007530 ok 120 timer - simple interval "interval" uv_timer_t: 0x7fe8e9003300 "timeout" uv_timer_t: 0x7fe8e90075d0 "interval" uv_timer_t: 0x7fe8e9003300 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7fe8e90033a0 0 "interval" uv_timer_t: 0x7fe8e90033a0 8 "interval" uv_timer_t: 0x7fe8e90033a0 4 "interval" uv_timer_t: 0x7fe8e90033a0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7fe8e90034e0 0 "interval" uv_timer_t: 0x7fe8e90034e0 8 "interval" uv_timer_t: 0x7fe8e90034e0 4 "interval" uv_timer_t: 0x7fe8e90034e0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7fe8e9079ad0 } { req = 0, client = uv_udp_t: 0x7fe8e903afb0 } "client on send" uv_udp_t: 0x7fe8e903afb0 nil "server on recv" uv_udp_t: 0x7fe8e9079ad0 "PING" { family = "inet", port = 41768, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7fe8e9079ad0 "client on close" uv_udp_t: 0x7fe8e903afb0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7fe8e9079bd0 } { req = 0, client = uv_udp_t: 0x7fe8e903b380 } "client on send" uv_udp_t: 0x7fe8e903b380 nil "server on recv" uv_udp_t: 0x7fe8e9079bd0 "PING" { family = "inet", port = 56973, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x7fe8e9079bd0 "client on close" uv_udp_t: 0x7fe8e903b380 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7fe8e90e6b10 } { req = 0, client = uv_udp_t: 0x7fe8e903bb50 } "client on send" uv_udp_t: 0x7fe8e903bb50 nil "server on recv" uv_udp_t: 0x7fe8e90e6b10 "PING" { family = "inet6", port = 44515, ip = "::1" } { } "server on close" uv_udp_t: 0x7fe8e90e6b10 "client on close" uv_udp_t: 0x7fe8e903bb50 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0x7fe8e9079ac0 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0x7fe8e9079ac0 "PING" { family = "inet", port = 45528, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fe8e9079ac0 "PING" { family = "inet", port = 53256, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fe8e9079ac0 "PING" { family = "inet", port = 53256, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0x7fe8e9079ac0 nil nil { } "server on recv" uv_udp_t: 0x7fe8e9079ac0 "PING" { family = "inet", port = 41350, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0x7fe8e90e6b10 "server on close" uv_udp_t: 0x7fe8e9079ac0 ok 130 udp - udp connect "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } "PING" { family = "inet", port = 50252, ip = "127.0.0.1" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0x7fe8e77d0b38" "hello" uv_thread_t: 0x7fe8e77d0b38 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: ? ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Running tests with lua5.4 1..137 "in async notify callback" "a" true 250.0 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7f2b4b496b50 "closed" uv_timer_t: 0x7f2b4b496b50 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7f2b4b496bf0 "closed" { } uv_timer_t: 0x7f2b4b496bf0 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, family = "inet6", socktype = "stream", protocol = "tcp", addr = "::1" }, { port = 80, family = "inet", socktype = "stream", protocol = "tcp", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { port = 80, family = "inet6", socktype = "stream", protocol = "tcp", addr = "::1" }, { port = 80, family = "inet", socktype = "stream", protocol = "tcp", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { socktype = "stream", family = "inet", canonname = "luvit.io", protocol = "tcp", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { socktype = "stream", family = "inet", canonname = "luvit.io", protocol = "tcp", addr = "206.189.225.172" }, { socktype = "stream", family = "inet6", canonname = "luvit.io", protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { socktype = "stream", family = "inet", canonname = "luvit.io", protocol = "tcp", addr = "206.189.225.172" }, { socktype = "dgram", family = "inet", canonname = "luvit.io", protocol = "udp", addr = "206.189.225.172" }, { socktype = "stream", family = "inet6", canonname = "luvit.io", protocol = "tcp", addr = "2604:a880:400:d0::1b9f:2001" }, { socktype = "dgram", family = "inet6", canonname = "luvit.io", protocol = "udp", addr = "2604:a880:400:d0::1b9f:2001" } } 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 = 29 } { stat = { dev = 64769, type = "file", rdev = 0, gid = 1000, blksize = 4096, gen = 0, atime = table: 0x7f2b4b49b660, nlink = 1, birthtime = table: 0x7f2b4b49abf0, ino = 21270616, uid = 1000, mode = 33188, ctime = table: 0x7f2b4b49b760, flags = 0, mtime = table: 0x7f2b4b49b6e0, blocks = 16, size = 6060 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 29 } { stat = { dev = 64769, type = "file", rdev = 0, gid = 1000, blksize = 4096, gen = 0, atime = table: 0x7f2b4b4adc50, nlink = 1, birthtime = table: 0x7f2b4b4ade90, ino = 21270616, uid = 1000, mode = 33188, ctime = table: 0x7f2b4b4ade10, flags = 0, mtime = table: 0x7f2b4b4add50, blocks = 16, size = 6060 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { 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 = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "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 = ".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 = ".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: 0x7f2b4b48bd78 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 = ".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 = ".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 = ".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 { ffree = 46299698, type = 61267, files = 54673408, bsize = 4096, blocks = 214974462, bavail = 38130106, bfree = 49068627 } ok 41 fs - fs.statfs sync { ffree = 46299698, type = 61267, files = 54673408, bsize = 4096, blocks = 214974462, bavail = 38130106, bfree = 49068627 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.46.0", version = 77312 } ok 58 misc - uv.version and uv.version_string { total = 67493289984.0, free = 63026376704.0, rss = 2015232, constrained = 0.0, available = 63026376704.0 } ok 59 misc - memory size { uptime = 1791767.16 } ok 60 misc - uv.uptime { inblock = 0, maxrss = 2264, majflt = 0, oublock = 72, nivcsw = 1, stime = { usec = 75670, sec = 0 }, nvcsw = 67, utime = { usec = 662671, sec = 0 }, isrss = 0, nsignals = 0, idrss = 0, msgrcv = 0, msgsnd = 0, ixrss = 0, nswap = 0, minflt = 853 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { speed = 1973.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4ad9d0 }, { speed = 1799.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4adc50 }, { speed = 1799.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4ade10 }, { speed = 1800.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4adf10 }, { speed = 1800.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b48cb10 }, { speed = 1799.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b48cd10 }, { speed = 1800.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4c9f30 }, { speed = 1800.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4d0710 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4a10 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4bd0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4e10 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4f50 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49b220 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49b6a0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49a7f0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49ad70 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4ad950 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4addd0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b48c850 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4c9eb0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a49d0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4d90 }, { speed = 1376.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49b1e0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49b760 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4af260 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b48c7d0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4910 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4a4f90 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49adb0 }, { speed = 1199.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b4d05d0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49abf0 }, { speed = 1200.0, model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", times = table: 0x7f2b4b49b260 } } ok 63 misc - uv.cpu_info "eth0" { { internal = false, netmask = "255.255.255.0", family = "inet", ip = "172.16.22.241", mac = "þ8Éè'" }, { internal = false, netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "fe80::fc38:4ff:fec9:e827", mac = "þ8Éè'" } } "lo" { { internal = true, netmask = "255.0.0.0", family = "inet", ip = "127.0.0.1", mac = "\0\0\0\0\0\0" }, { internal = true, netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", ip = "::1", mac = "\0\0\0\0\0\0" } } ok 64 misc - uv.interface_addresses { 4.95, 6.36, 7.39 } ok 65 misc - uv.loadavg "/usr/bin/lua5.4" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { uid = 1000, gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer", username = "buildozer" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.7917677040257e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { sysname = "Linux", release = "5.15.108-0-lts", machine = "x86_64", version = "#1-Alpine SMP Fri, 21 Apr 2023 05:55:14 +0000" } ok 73 misc - uv.os_uname os.time 1688650867 uv.gettimeofday 1688650867.000875 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 715434381, sec = 1791768 } nil "realtime" { nsec = 715497261, sec = 1791768 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0x7f2b4b4d0ac0 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7f2b4b4d0840 "timeout" uv_timer_t: 0x7f2b4b496b50 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7f2b4b4d08c0 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0x7f2b4b4866d0, pid = 2782 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7f2b4b4867f0, pid = 2783 } "exit" uv_process_t: 0x7f2b4b4867f0 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7f2b4b486880, pid = 2784 } "exit" uv_process_t: 0x7f2b4b486880 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7f2b4b4869a0, pid = 2786 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { code = 0, pid = 2789, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x7f2b4b48a4b0, address = { family = "inet", ip = "127.0.0.1", port = 40767 } } { client = uv_tcp_t: 0x7f2b4b48a6f0, req = uv_connect_t: 0x7f2b4b496cc8 } "server on connection" uv_tcp_t: 0x7f2b4b48a4b0 "client on connect" uv_tcp_t: 0x7f2b4b48a6f0 nil "client on shutdown" uv_tcp_t: 0x7f2b4b48a6f0 nil "client on close" uv_tcp_t: 0x7f2b4b48a6f0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7f2b4b48a140, address = { family = "inet6", ip = "::1", port = 37473 } } { client = uv_tcp_t: 0x7f2b4b48a4c0, req = uv_connect_t: 0x7f2b4b496d68 } "server on connection" uv_tcp_t: 0x7f2b4b48a140 "client on connect" uv_tcp_t: 0x7f2b4b48a4c0 nil "client on shutdown" uv_tcp_t: 0x7f2b4b48a4c0 nil "client on close" uv_tcp_t: 0x7f2b4b48a4c0 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7f2b4b4becb0, address = { family = "inet", ip = "127.0.0.1", port = 39083 } } { socket = uv_tcp_t: 0x7f2b4b48a150, req = uv_write_t: 0x7f2b4b48a4d8 } "client onwrite" uv_tcp_t: 0x7f2b4b48a150 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x7f2b4b48a160, address = { family = "inet", ip = "127.0.0.1", port = 36787 } } { socket = uv_tcp_t: 0x7f2b4b48a4b0, req = uv_write_t: 0x7f2b4b48a728 } "client onwrite" uv_tcp_t: 0x7f2b4b48a4b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0x7f2b4b48b4a0, address = { family = "inet", ip = "127.0.0.1", port = 41397 } } { socket = uv_tcp_t: 0x7f2b4b48b6d0, req = uv_write_t: 0x7f2b4b48a178 } "client onwrite" uv_tcp_t: 0x7f2b4b48b6d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x7f2b4b48a030, address = { family = "inet", ip = "127.0.0.1", port = 33493 } } { socket = uv_tcp_t: 0x7f2b4b48a270, req = uv_write_t: 0x7f2b4b48a618 } "client onwrite" uv_tcp_t: 0x7f2b4b48a270 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7f2b4b48a160, address = { family = "inet", ip = "127.0.0.1", port = 43645 } } { socket = uv_tcp_t: 0x7f2b4b48a4b0, req = uv_write_t: 0x7f2b4b48a738 } "client onwrite" uv_tcp_t: 0x7f2b4b48a4b0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7f2b4b4a6100, address = { family = "inet", ip = "127.0.0.1", port = 44597 } } { socket = uv_tcp_t: 0x7f2b4b48b5c0, req = uv_write_t: 0x7f2b4b4bece8 } "client onwrite" uv_tcp_t: 0x7f2b4b48b5c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0x7f2b4946bb38 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7f2b4b6c1b48 Runing uv_thread_t: 0x7f2b4b6c1b48 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 102 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0x7f2b4b496d30 "closed" uv_timer_t: 0x7f2b4b496d30 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7f2b4b496dd0 "interval" uv_timer_t: 0x7f2b4b496dd0 "interval" uv_timer_t: 0x7f2b4b496dd0 "closed" uv_timer_t: 0x7f2b4b496dd0 ok 120 timer - simple interval "interval" uv_timer_t: 0x7f2b4b496bf0 "timeout" uv_timer_t: 0x7f2b4b496b50 "interval" uv_timer_t: 0x7f2b4b496bf0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7f2b4b496c90 0 "interval" uv_timer_t: 0x7f2b4b496c90 8 "interval" uv_timer_t: 0x7f2b4b496c90 4 "interval" uv_timer_t: 0x7f2b4b496c90 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7f2b4b496d30 0 "interval" uv_timer_t: 0x7f2b4b496d30 8 "interval" uv_timer_t: 0x7f2b4b496d30 4 "interval" uv_timer_t: 0x7f2b4b496d30 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x7f2b4b4d2ea0 } { client = uv_udp_t: 0x7f2b4b495ef0, req = 0 } "client on send" uv_udp_t: 0x7f2b4b495ef0 nil "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 33638 } { } "server on close" uv_udp_t: 0x7f2b4b4d2ea0 "client on close" uv_udp_t: 0x7f2b4b495ef0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x7f2b4b4d2eb0 } { client = uv_udp_t: 0x7f2b4b4962d0, req = 0 } "client on send" uv_udp_t: 0x7f2b4b4962d0 nil "server on recv" uv_udp_t: 0x7f2b4b4d2eb0 "PING" { family = "inet", ip = "127.0.0.1", port = 35639 } { } "server on close" uv_udp_t: 0x7f2b4b4d2eb0 "client on close" uv_udp_t: 0x7f2b4b4962d0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x7f2b4b4d2ea0 } { client = uv_udp_t: 0x7f2b4b496eb0, req = 0 } "client on send" uv_udp_t: 0x7f2b4b496eb0 nil "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet6", ip = "::1", port = 36616 } { } "server on close" uv_udp_t: 0x7f2b4b4d2ea0 "client on close" uv_udp_t: 0x7f2b4b496eb0 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0x7f2b4b4d2ea0 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 49764 } { } "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 48109 } { } "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 48109 } { } "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 nil nil { } "server on recv" uv_udp_t: 0x7f2b4b4d2ea0 "PING" { family = "inet", ip = "127.0.0.1", port = 58775 } { } "client on close" uv_udp_t: 0x7f2b4b497290 "server on close" uv_udp_t: 0x7f2b4b4d2ea0 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } "PING" { family = "inet", ip = "127.0.0.1", port = 54948 } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250.0 2.0 4.0 "uv_thread_t: 0x7f2b49c6eb38" "hello" uv_thread_t: 0x7f2b49c6eb38 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 hello world from thread 6 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 137 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0x7fa969b3a2d0 "closed" uv_timer_t: 0x7fa969b3a2d0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0x7fa969b3a2d0 "closed" { } uv_timer_t: 0x7fa969b3a2d0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { addr = "::1", family = "inet6", protocol = "tcp", port = 80, socktype = "stream" }, { addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", family = "inet6", protocol = "tcp", port = 80, socktype = "stream" }, { addr = "127.0.0.1", family = "inet", protocol = "tcp", port = 80, socktype = "stream" } } 2 ok 9 dns - Get all local http addresses sync { { family = "inet", addr = "206.189.225.172", protocol = "tcp", canonname = "luvit.io", socktype = "stream" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { 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", socktype = "stream" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { protocol = "tcp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", socktype = "stream" }, { protocol = "udp", family = "inet", canonname = "luvit.io", addr = "206.189.225.172", socktype = "dgram" }, { protocol = "tcp", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "stream" }, { protocol = "udp", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001", socktype = "dgram" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "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 = 29 } { stat = { dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 21270616, blksize = 4096, size = 6060, flags = 0, gen = 0, atime = table: 0x7fa9699c55e8, mtime = table: 0x7fa9699d4940, ctime = table: 0x7fa9699e87f0, birthtime = table: 0x7fa9699f1c90, type = "file", blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 29 } { stat = { atime = table: 0x7fa9699eb0b0, mtime = table: 0x7fa9699e3d58, ctime = table: 0x7fa9699c55e8, birthtime = table: 0x7fa9699f17a0, size = 6060, type = "file", dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 21270616, blksize = 4096, blocks = 16, flags = 0, gen = 0 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = "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 = ".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 = ".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: 0x7fa9699deed0 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 = ".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 = ".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 = ".editorconfig", type = "file" }, { name = "examples", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "deps", type = "directory" }, { name = "rockspecs", type = "directory" }, { name = "cmake", type = "directory" }, { name = "Makefile", type = "file" }, { name = "docs.md", type = "file" }, { name = "libluv.pc.in", type = "file" }, { name = "build-jit", type = "directory" }, { name = "lib", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bfree = 49068619, files = 54673408, type = 61267, ffree = 46299698, bavail = 38130098, bsize = 4096, blocks = 214974462 } ok 41 fs - fs.statfs sync { bavail = 38130098, ffree = 46299698, type = 61267, files = 54673408, bsize = 4096, blocks = 214974462, bfree = 49068619 } 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 { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { constrained = 0, available = 63029755904, free = 63029755904, rss = 2572288, total = 67493289984 } ok 59 misc - memory size { uptime = 1791776.34 } ok 60 misc - uv.uptime { msgrcv = 0, nsignals = 0, nvcsw = 64, nivcsw = 3, utime = { usec = 702656, sec = 0 }, stime = { usec = 69306, sec = 0 }, maxrss = 2636, ixrss = 0, idrss = 0, isrss = 0, minflt = 606, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0 } ok 61 misc - uv.getrusage 32 ok 62 misc - uv.available_parallelism { { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1849, times = table: 0x7fa9699e3ed8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2998, times = table: 0x7fa9699a6f20 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 3000, times = table: 0x7fa9699eaa48 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 3001, times = table: 0x7fa9699f1c90 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2998, times = table: 0x7fa9699d8fb8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 2075, times = table: 0x7fa96999c2f0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699e87f0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699e4368 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699e5bb8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699c2cc0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699eb0b0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699e3d58 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699ef618 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699ec868 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699ea0a8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699ce5e0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699d8120 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1461, times = table: 0x7fa9699cb248 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699d0208 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699cfbd8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699d4878 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699d9ac8 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa969a76010 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa969a6ee38 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a8b30 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a8d90 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699a8ff0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1199, times = table: 0x7fa9699a9250 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a94b0 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a9710 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a9970 }, { model = "Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz", speed = 1200, times = table: 0x7fa9699a9bd0 } } ok 63 misc - uv.cpu_info "lo" { { netmask = "255.0.0.0", family = "inet", internal = true, ip = "127.0.0.1", mac = "\0\0\0\0\0\0" }, { netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true, ip = "::1", mac = "\0\0\0\0\0\0" } } "eth0" { { netmask = "255.255.255.0", family = "inet", internal = false, ip = "172.16.22.241", mac = "þ8Éè'" }, { netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false, ip = "fe80::fc38:4ff:fec9:e827", mac = "þ8Éè'" } } ok 64 misc - uv.interface_addresses { 4.18, 6.15, 7.31 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.0-beta3" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { uid = 1000, gid = 1000, shell = "/bin/ash", homedir = "/home/buildozer", username = "buildozer" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 1.7917768895411e+15 ok 71 misc - uv.hrtime ok 72 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 73 misc - uv.os_uname os.time 1688650877 uv.gettimeofday 1688650877.000062 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 910260637, sec = 1791777 } nil "realtime" { nsec = 910425847, sec = 1791777 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0x7fa9699bb820 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0x7fa9699bb820 "timeout" uv_timer_t: 0x7fa969aa2a50 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0x7fa9699bb820 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0x7fa969aa2a60, pid = 2818 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { handle = uv_process_t: 0x7fa969aa2b00, pid = 2819 } "exit" uv_process_t: 0x7fa969aa2b00 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0x7fa969aa2a50, pid = 2820 } "exit" uv_process_t: 0x7fa969aa2a50 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0x7fa969aa2a60, pid = 2822 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { code = 0, signal = 0, pid = 2825 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0x7fa969b3a780, address = { port = 36519, ip = "127.0.0.1", family = "inet" } } { req = uv_connect_t: 0x7fa9699dfe60, client = uv_tcp_t: 0x7fa969aa2e70 } "server on connection" uv_tcp_t: 0x7fa969b3a780 "client on connect" uv_tcp_t: 0x7fa969aa2e70 nil "client on shutdown" uv_tcp_t: 0x7fa969aa2e70 nil "client on close" uv_tcp_t: 0x7fa969aa2e70 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0x7fa969b3a740, address = { port = 44387, ip = "::1", family = "inet6" } } { req = uv_connect_t: 0x7fa9699dfe60, client = uv_tcp_t: 0x7fa969aa2e30 } "server on connection" uv_tcp_t: 0x7fa969b3a740 "client on connect" uv_tcp_t: 0x7fa969aa2e30 nil "client on shutdown" uv_tcp_t: 0x7fa969aa2e30 nil "client on close" uv_tcp_t: 0x7fa969aa2e30 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0x7fa969b3a750, address = { port = 45125, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969aa2e40, req = uv_write_t: 0x7fa9699c5aa0 } "client onwrite" uv_tcp_t: 0x7fa969aa2e40 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0x7fa969aa2e50, address = { port = 43565, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969b3a760, req = uv_write_t: 0x7fa9699d5698 } "client onwrite" uv_tcp_t: 0x7fa969b3a760 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0x7fa969aa2e60, address = { port = 37425, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969b3a780, req = uv_write_t: 0x7fa9699cacd8 } "client onwrite" uv_tcp_t: 0x7fa969b3a780 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0x7fa969b3a740, address = { port = 40801, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969aa2e70, req = uv_write_t: 0x7fa9699cacd8 } "client onwrite" uv_tcp_t: 0x7fa969aa2e70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0x7fa969aa2e30, address = { port = 42777, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969b3a750, req = uv_write_t: 0x7fa9699cacd8 } "client onwrite" uv_tcp_t: 0x7fa969b3a750 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0x7fa969aa2e40, address = { port = 37929, ip = "127.0.0.1", family = "inet" } } { socket = uv_tcp_t: 0x7fa969b3a760, req = uv_write_t: 0x7fa9699cacd8 } "client onwrite" uv_tcp_t: 0x7fa969b3a760 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0x7fa967924b30 { elapsed = 102, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0x7fa969aa2c10 Runing uv_thread_t: 0x7fa969aa2c10 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 101, delay = 100 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0x7fa969aa2af0 "closed" uv_timer_t: 0x7fa969aa2af0 ok 119 timer - simple timeout "interval" uv_timer_t: 0x7fa969aa2a50 "interval" uv_timer_t: 0x7fa969aa2a50 "interval" uv_timer_t: 0x7fa969aa2a50 "closed" uv_timer_t: 0x7fa969aa2a50 ok 120 timer - simple interval "interval" uv_timer_t: 0x7fa969aa2a50 "timeout" uv_timer_t: 0x7fa969aa2af0 "interval" uv_timer_t: 0x7fa969aa2a50 ok 121 timer - timeout with interval "interval" uv_timer_t: 0x7fa969aa2a50 0 "interval" uv_timer_t: 0x7fa969aa2a50 8 "interval" uv_timer_t: 0x7fa969aa2a50 4 "interval" uv_timer_t: 0x7fa969aa2a50 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0x7fa969aa2af0 0 "interval" uv_timer_t: 0x7fa969aa2af0 8 "interval" uv_timer_t: 0x7fa969aa2af0 4 "interval" uv_timer_t: 0x7fa969aa2af0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x55ecea24fee0 } { req = 0, client = uv_udp_t: 0x7fa969b3aec0 } "client on send" uv_udp_t: 0x7fa969b3aec0 nil "server on recv" uv_udp_t: 0x55ecea24fee0 "PING" { port = 39848, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x55ecea24fee0 "client on close" uv_udp_t: 0x7fa969b3aec0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x55ecea24fed0 } { req = 0, client = uv_udp_t: 0x7fa969b3aeb0 } "client on send" uv_udp_t: 0x7fa969b3aeb0 nil "server on recv" uv_udp_t: 0x55ecea24fed0 "PING" { port = 50600, ip = "127.0.0.1", family = "inet" } { } "server on close" uv_udp_t: 0x55ecea24fed0 "client on close" uv_udp_t: 0x7fa969b3aeb0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0x55ecea24fee0 } { req = 0, client = uv_udp_t: 0x7fa969b3aec0 } "client on send" uv_udp_t: 0x7fa969b3aec0 nil "server on recv" uv_udp_t: 0x55ecea24fee0 "PING" { port = 41260, ip = "::1", family = "inet6" } { } "server on close" uv_udp_t: 0x55ecea24fee0 "client on close" uv_udp_t: 0x7fa969b3aec0 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0x7fa969b3aeb0 } { port = 9123, ip = "127.0.0.1", family = "inet" } "server on recv" uv_udp_t: 0x7fa969b3aeb0 "PING" { port = 51262, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fa969b3aeb0 "PING" { port = 33453, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fa969b3aeb0 "PING" { port = 33453, ip = "127.0.0.1", family = "inet" } { } "server on recv" uv_udp_t: 0x7fa969b3aeb0 nil nil { } "server on recv" uv_udp_t: 0x7fa969b3aeb0 "PING" { port = 39359, ip = "127.0.0.1", family = "inet" } { } "client on close" uv_udp_t: 0x55ecea24fee0 "server on close" uv_udp_t: 0x7fa969b3aeb0 ok 130 udp - udp connect "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } "PING" { port = 48727, ip = "127.0.0.1", family = "inet" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0x7fa968191b30" "hello" uv_thread_t: 0x7fa968191b30 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: at 0x7fa969a47145 ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Entering fakeroot... -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.a -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1.45.0 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/pkgconfig/libluv.pc -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h >>> lua-luv-static*: Running split function static... >>> lua-luv-static*: Preparing subpackage lua-luv-static... >>> lua-luv-static*: Stripping binaries >>> lua-luv-static*: Running postcheck for lua-luv-static >>> lua-luv-dev*: Running split function dev... >>> lua-luv-dev*: Preparing subpackage lua-luv-dev... >>> lua-luv-dev*: Stripping binaries >>> lua-luv-dev*: Running postcheck for lua-luv-dev >>> libluv*: Running split function libluv... '/home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr' -> '/home/buildozer/aports/community/lua-luv/pkg/libluv/usr' >>> libluv*: Preparing subpackage libluv... >>> libluv*: Stripping binaries >>> libluv*: Running postcheck for libluv >>> lua5.1-luv*: Running split function _subpackage... >>> lua5.1-luv*: Preparing subpackage lua5.1-luv... >>> lua5.1-luv*: Stripping binaries >>> lua5.1-luv*: Running postcheck for lua5.1-luv >>> lua5.4-luv*: Running split function _subpackage... >>> lua5.4-luv*: Preparing subpackage lua5.4-luv... >>> lua5.4-luv*: Stripping binaries >>> lua5.4-luv*: Running postcheck for lua5.4-luv >>> lua-luv*: Running postcheck for lua-luv >>> lua-luv*: Preparing package lua-luv... >>> lua-luv*: Stripping binaries >>> WARNING: lua-luv*: No arch specific binaries found so arch should probably be set to "noarch" >>> libluv*: Scanning shared objects >>> lua-luv-dev*: Scanning shared objects >>> lua-luv-static*: Scanning shared objects >>> lua-luv*: Scanning shared objects >>> lua5.1-luv*: Scanning shared objects >>> lua5.4-luv*: Scanning shared objects >>> libluv*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> libluv*: Package size: 168.0 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.45.0.0-r0.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.45.0.0-r0 pkgconfig >>> lua-luv-dev*: Package size: 56.0 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.45.0.0-r0.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 312.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.45.0.0-r0.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.45.0.0-r0.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 196.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.45.0.0-r0.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-x86_64.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 192.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.45.0.0-r0.apk >>> lua-luv: Build complete at Thu, 06 Jul 2023 13:41:23 +0000 elapsed time 0h 0m 49s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20230706.134036) (2/19) Purging cmake (3.26.4-r2) (3/19) Purging libuv-dev (1.46.0-r0) (4/19) Purging libuv (1.46.0-r0) (5/19) Purging lua-compat53-dev (0.10-r1) (6/19) Purging luajit-dev (2.1_p20230410-r3) (7/19) Purging luajit (2.1_p20230410-r3) (8/19) Purging lua5.1-dev (5.1.5-r12) (9/19) Purging lua5.1 (5.1.5-r12) (10/19) Purging lua5.1-libs (5.1.5-r12) (11/19) Purging lua5.4-dev (5.4.6-r0) (12/19) Purging lua5.4 (5.4.6-r0) (13/19) Purging lua5.4-libs (5.4.6-r0) (14/19) Purging libarchive (3.6.2-r3) (15/19) Purging libbz2 (1.0.8-r6) (16/19) Purging readline (8.2.1-r2) (17/19) Purging rhash-libs (1.4.3-r2) (18/19) Purging samurai (1.2-r4) (19/19) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.1-r3.trigger OK: 376 MiB in 105 packages >>> lua-luv: Updating the community/x86_64 repository index... >>> lua-luv: Signing the index...