<86>Apr 21 01:52:11 userdel[88434]: delete user 'rooter' <86>Apr 21 01:52:11 userdel[88434]: removed group 'rooter' owned by 'rooter' <86>Apr 21 01:52:11 userdel[88434]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 01:52:11 groupadd[88516]: group added to /etc/group: name=rooter, GID=681 <86>Apr 21 01:52:11 groupadd[88516]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:52:11 groupadd[88516]: new group: name=rooter, GID=681 <86>Apr 21 01:52:11 useradd[88573]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Apr 21 01:52:11 userdel[88594]: delete user 'builder' <86>Apr 21 01:52:11 userdel[88594]: removed group 'builder' owned by 'builder' <86>Apr 21 01:52:11 userdel[88594]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:52:11 groupadd[88706]: group added to /etc/group: name=builder, GID=682 <86>Apr 21 01:52:11 groupadd[88706]: group added to /etc/gshadow: name=builder <86>Apr 21 01:52:11 groupadd[88706]: new group: name=builder, GID=682 <86>Apr 21 01:52:11 useradd[88775]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Apr 21 01:52:14 rpmi: liblua5.1-5.1.5-alt1 1410604186 installed <13>Apr 21 01:52:14 rpmi: lua5-5.1.5-alt1 1410604186 installed <13>Apr 21 01:52:14 rpmi: lua5.1-alt-compat-1.0-alt1 1412309265 installed <13>Apr 21 01:52:14 rpmi: p7zip-15.09-alt1 1451857619 installed <13>Apr 21 01:52:14 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:52:14 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Apr 21 01:52:14 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:52:14 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 21 01:52:14 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:52:14 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:52:14 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:52:14 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Apr 21 01:52:14 rpmi: liblua5-devel-5.1.5-alt1 1410604186 installed <13>Apr 21 01:52:14 rpmi: rpm-macros-lua-1.1-alt1 1412309289 installed <13>Apr 21 01:52:14 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:52:15 rpmi: wget-1.19.2-alt0.M80P.2 1520307323 installed <86>Apr 21 01:52:15 groupadd[105821]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:52:15 groupadd[105821]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:52:15 groupadd[105821]: new group: name=_keytab, GID=499 <13>Apr 21 01:52:15 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:52:15 rpmi: luarocks-2.2.0-alt1.rc1 1412594035 installed Warning: This looks like a local rocks tree, but you did not pass --local-tree. Installing lua-module-luasocket-3.0rc1-alt1_lr1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.13567 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf luasocket-3.0-rc1 + echo 'Source #0 (v3.0-rc1.zip):' Source #0 (v3.0-rc1.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/v3.0-rc1.zip + cd luasocket-3.0-rc1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.99647 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lua-module-luasocket-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lua-module-luasocket-buildroot + cd luasocket-3.0-rc1 + mkdir -p /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks + cp -a /usr/lib/luarocks/rocks/manifest /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks + luarocks make --local --to=/usr/src/tmp/lua-module-luasocket-buildroot/usr /usr/src/RPM/SOURCES/luasocket-3.0rc1-1.rockspec gcc -O2 -fPIC -I/usr/include -c src/mime.c -o src/mime.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o mime/core.so -L/usr/lib src/mime.o -llua gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/serial.c -o src/serial.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/serial.so -L/usr/lib src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/serial.o -llua gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/unix.c -o src/unix.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/unix.so -L/usr/lib src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/unix.o -llua gcc -O2 -fPIC -I/usr/include -c src/luasocket.c -o src/luasocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/inet.c -o src/inet.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/except.c -o src/except.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/select.c -o src/select.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/tcp.c -o src/tcp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/udp.c -o src/udp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/core.so -L/usr/lib src/luasocket.o src/timeout.o src/buffer.o src/io.o src/auxiliar.o src/options.o src/inet.o src/except.o src/select.o src/tcp.o src/udp.o src/usocket.o -llua Updating manifest for /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks luasocket 3.0rc1-1 is now built and installed in /usr/src/tmp/lua-module-luasocket-buildroot/usr (license: MIT) + rm -rf docs_from_rockstree + mv /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc/ docs_from_rockstree + ln -s /usr/share/doc/lua-module-luasocket-3.0rc1 /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lua-module-luasocket-buildroot (auto) mode of './usr/lib64/lua/5.1/socket/unix.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/socket/serial.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/socket/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/mime/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/lua-module-luasocket-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/lua-module-luasocket-buildroot (auto) Adjusting library links in /usr/src/tmp/lua-module-luasocket-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/lua-module-luasocket-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.61125 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + export 'LUA_PATH=/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua' + LUA_PATH='/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua' + export 'LUA_CPATH=/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/?.so;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/loadall.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so' + LUA_CPATH='/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/?.so;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib64/lua/5.1/loadall.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so' + sleep 1 + lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/test/testsrvr.lua + lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/test/testclnt.lua ---------------------------------------------- LuaSocket Test Procedures ---------------------------------------------- attempting control connection...connected! ---------------------------------------------- testing: method registration ---------------------------------------------- tcp{master} methods are ok Warning! IPv6 does not support! udp{unconnected} methods are ok Warning! IPv6 does not support! ---------------------------------------------- testing: partial receive ---------------------------------------------- ok ---------------------------------------------- testing: select function ---------------------------------------------- both nil: ok closed sockets: ok invalid input: ok unable to create enough sockets (max was 1019) try using ulimit ---------------------------------------------- testing: read after close ---------------------------------------------- trying repeated '*a' patternok trying active close before '*a'ok trying active close before '*l'ok trying active close before raw 1ok trying active close before raw 0ok ---------------------------------------------- testing: write after close ---------------------------------------------- ok ---------------------------------------------- testing: connect function ---------------------------------------------- connect with timeout (if it hangs, it failed!): ok empty connect: ok connection refused: ok host not found: ok ---------------------------------------------- testing: rebinding: ---------------------------------------------- ok ---------------------------------------------- testing: active close: ---------------------------------------------- ok ---------------------------------------------- testing: closed connection detection: ---------------------------------------------- trying read detection: graceful 'closed' received trying write detection: graceful 'closed' received after 8192 bytes were sent ---------------------------------------------- testing: accept function: ---------------------------------------------- accept with timeout (if it hangs, it failed): good not listening: ok not supported: ok ---------------------------------------------- testing: getstats test ---------------------------------------------- ok ---------------------------------------------- testing: character line ---------------------------------------------- length 1: lines match length 17: lines match length 200: lines match length 4091: lines match length 80199: lines match length 8000000: lines match length 80199: lines match length 4091: lines match length 200: lines match server: waiting for client connection... if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send("7890"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send('little string'); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); if data then data:close() data = nil end; data = server:accept(); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send('little string'); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(85); data:send(str); str = data:receive(40); data:send(str); str = data:receive(79); data:send(str); str = data:receive(80); data:send(str); str = data:receive(92); data:send(str); str = data:receive(20); data:send(str); str = data:receive(34); data:send(str); str = data:receive(77); data:send(str); str = data:receive(28); data:send(str); str = data:receive(56); data:send(str); str = data:receive(48); data:send(str); str = data:receive(63); data:send(str); str = data:receive(37); data:send(str); str = data:receive(52); data:send(str); str = data:receive(96); data:send(str); str = data:receive(92); data:send(str); str = data:receive(64); data:send(str); str = data:receive(72); data:send(str); str = data:receive(15); data:send(str); str = data:receive(61); data:send(str); str = data:receive(2); data:send(str); str = data:receive(25); data:send(str); str = data:receive(14); data:send(str); str = data:receive(81); data:send(str); str = data:receive(16); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true);length 17: lines match length 1: lines match ---------------------------------------------- testing: mixed patterns ---------------------------------------------- length 1: patterns match length 17: patterns match length 200: patterns match length 4091: patterns match length 801990: patterns match length 4091: patterns match length 200: patterns match length 17: patterns match length 1: patterns match ---------------------------------------------- testing: binary line ---------------------------------------------- length 1: lines match length 17: lines match length 200: lines match length 4091: lines match length 80199: lines match length 8000000: lines match length 80199: lines match length 4091: lines match length 200: lines match length 17: lines match length 1: lines match ---------------------------------------------- testing: raw transfer ---------------------------------------------- length 1: blocks match length 17: blocks match length 200: blocks match length 4091: blocks match length 80199: blocks match length 8000000: blocks match str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(41) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(57) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(237) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4129) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(802029) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4129) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(237) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(57) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(41) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(8000000) data:send(str) if data then data:closlength 80199: blocks match length 4091: blocks match length 200: blocks match length 17: blocks match length 1: blocks match ---------------------------------------------- testing: non-blocking transfer ---------------------------------------------- testing 2 bytes: ok testing 34 bytes: ok testing 400 bytes: ok testing 8182 bytes: ok testing 160398 bytes: ok testing 1600000 bytes: ok testing 160398 bytes: ok testing 8182 bytes: ok testing 400 bytes: e() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 1)); socket.sleep(0.5); data:send(string.rep("b", 1) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1); socket.sleep(0.5); str = data:receive(2*1, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 17)); socket.sleep(0.5); data:send(string.rep("b", 17) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17); socket.sleep(0.5); str = data:receive(2*17, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 200)); socket.sleep(0.5); data:send(string.rep("b", 200) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200); socket.sleep(0.5); str = data:receive(2*200, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 4091)); socket.sleep(0.5); data:send(string.rep("b", 4091) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091); socket.sleep(0.5); str = data:receive(2*4091, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 80199)); socket.sleep(0.5); data:send(string.rep("b", 80199) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199); socket.sleep(0.5); str = data:receive(2*80199, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 800000)); socket.sleep(0.5); data:send(string.rep("b", 800000) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(800000); socket.sleep(0.5); str = data:receive(2*800000, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 80199)); socket.sleep(0.5); data:send(string.rep("b", 80199) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199); socket.sleep(0.5); str = data:receive(2*80199, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 4091)); socket.sleep(0.5); data:send(string.rep("b", 4091) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091); socket.sleep(0.5); str = data:receive(2*4091, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 200)); socket.sleep(0.5); data:send(string.rep("b", 200) .. "\n"); if data then data:close() data = nil eok testing 34 bytes: ok testing 2 bytes: ok ---------------------------------------------- testing: total timeout on send ---------------------------------------------- 800091 bytes, 1s total timeout, 3s pause: WARNING: must be buffered 800091 bytes, 2s total timeout, 3s pause: WARNING: must be buffered 800091 bytes, 5s total timeout, 2s pause: ok 800091 bytes, 3s total timeout, 1s pause: ok ---------------------------------------------- testing: total timeout on receive ---------------------------------------------- 800091 bytes, 1s total timeout, 3s pause: proper timeout 800091 bytes, 2s total timeout, 3s pause: proper timeout 800091 bytes, 3s total timeout, 2s pause: ok 800091 bytes, 3s total timeout, 1s pause: ok ---------------------------------------------- testing: blocking timeout on send ---------------------------------------------- 800091 bytes, 1s blocking timeout, 3s pause: WARNING: must be buffered 800091 bytes, 2s blocking timeout, 3s pause: WARNING: must be buffered 800091 bytes, 3s blocking timeout, 2s pause: nd; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200); socket.sleep(0.5); str = data:receive(2*200, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 17)); socket.sleep(0.5); data:send(string.rep("b", 17) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17); socket.sleep(0.5); str = data:receive(2*17, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 1)); socket.sleep(0.5); data:send(string.rep("b", 1) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1); socket.sleep(0.5); str = data:receive(2*1, str); data:send(str); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(10); str = data:receive(800091); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); data:send(str); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); data:send(str); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); priok 800091 bytes, 3s blocking timeout, 1s pause: ok ---------------------------------------------- testing: blocking timeout on receive ---------------------------------------------- 800091 bytes, 1s blocking timeout, 3s pause: proper timeout 800091 bytes, 2s blocking timeout, 3s pause: proper timeout 800091 bytes, 3s blocking timeout, 2s pause: ok 800091 bytes, 3s blocking timeout, 1s pause: ok ---------------------------------------------- testing: shutting server down ---------------------------------------------- nt('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); data:send(str); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); data:send(str); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); os.exit() ---------------------------------------------- testing: done in 49.52s ---------------------------------------------- + exit 0 Processing files: lua-module-luasocket-3.0rc1-alt1_lr1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25157 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + DOCDIR=/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + export DOCDIR + rm -rf /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + /bin/mkdir -p /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + cp -prL FIX LICENSE NEW TODO WISH docs_from_rockstree/dns.html docs_from_rockstree/ftp.html docs_from_rockstree/http.html docs_from_rockstree/index.html docs_from_rockstree/installation.html docs_from_rockstree/introduction.html docs_from_rockstree/ltn12.html docs_from_rockstree/lua05.ppt docs_from_rockstree/luasocket.png docs_from_rockstree/mime.html docs_from_rockstree/reference.css docs_from_rockstree/reference.html docs_from_rockstree/smtp.html docs_from_rockstree/socket.html docs_from_rockstree/tcp.html docs_from_rockstree/udp.html docs_from_rockstree/url.html /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + chmod -R go-w /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + chmod -R a+rX /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QoRcH9 find-provides: absolute symbolic link /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc -> /usr/share/doc/lua-module-luasocket-3.0rc1 is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.53fi0A find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: cat env lua Provides: luarocks(luasocket) = 3.0rc1 Requires: /bin/sh, /usr/bin/env, /usr/bin/lua, /usr/lib/luarocks/rocks, /usr/lib64/lua/5.1, /usr/share/lua/5.1, coreutils, libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), liblua-5.1.so.0()(64bit) >= set:lftTqfPUy5M8yD85zP6hZjY6edPNtrIWTf1bxgV115uqkzXvsAgv0m2KJZaCnBei2MyEnSzKsjZmNuRvMF65ZgnCDR0ZkhJ9BqDqtGEOmoUrNjIxt9asZtO96, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.y8reL7 Creating lua-module-luasocket-debuginfo package Processing files: lua-module-luasocket-debuginfo-3.0rc1-alt1_lr1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bK6vEH find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IQyyok find-requires: running scripts (debuginfo) Requires: lua-module-luasocket = 3.0rc1-alt1_lr1, debug64(libc.so.6), debug64(liblua-5.1.so.0) Wrote: /usr/src/RPM/RPMS/x86_64/lua-module-luasocket-3.0rc1-alt1_lr1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lua-module-luasocket-debuginfo-3.0rc1-alt1_lr1.x86_64.rpm 13.02user 3.28system 1:05.57elapsed 24%CPU (0avgtext+0avgdata 44156maxresident)k 0inputs+0outputs (0major+543295minor)pagefaults 0swaps 18.47user 6.58system 1:16.86elapsed 32%CPU (0avgtext+0avgdata 122120maxresident)k 56inputs+0outputs (0major+782982minor)pagefaults 0swaps --- lua-module-luasocket-3.0rc1-alt1_lr1.x86_64.rpm.repo 2014-10-28 12:53:24.000000000 +0000 +++ lua-module-luasocket-3.0rc1-alt1_lr1.x86_64.rpm.hasher 2019-04-21 01:53:25.679089867 +0000 @@ -127,3 +127,2 @@ Requires: rpmlib(SetVersions) -Requires: lua5 Requires: rtld(GNU_HASH)