Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/packetdrill.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-154956-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/packetdrill.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/packetdrill-2.0~20220927gitc556afb-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/packetdrill.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-154956-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/packetdrill.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5dla8G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/56.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/62.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i gtests/net/packetdrill/run_all.py -e 's:bin_path = .*:bin_path = "/usr/bin/packetdrill":' -e 's:nswrap_path = .*:nswrap_path = "/usr/share/packetdrill/in_netns.sh":' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i11Gqt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' ~/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill ~/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + pushd gtests/net/packetdrill + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- 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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (1.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j16 --verbose /usr/bin/cmake -S/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill -B/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/packetdrill-lib.dir/build.make CMakeFiles/packetdrill-lib.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [ 3%] Generating /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.c, /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.h [ 3%] Generating /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/lexer.c /usr/bin/bison --output=/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.c --defines=/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.h --report=state /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y /usr/bin/flex -o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/lexer.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/lexer.l cd /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/packetdrill-lib.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/packetdrill-lib.dir/build.make CMakeFiles/packetdrill-lib.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [ 10%] Building C object CMakeFiles/packetdrill-lib.dir/checksum.c.o [ 10%] Building C object CMakeFiles/packetdrill-lib.dir/code.c.o [ 10%] Building C object CMakeFiles/packetdrill-lib.dir/epoll.c.o [ 10%] Building C object CMakeFiles/packetdrill-lib.dir/file.c.o [ 10%] Building C object CMakeFiles/packetdrill-lib.dir/config.c.o [ 15%] Building C object CMakeFiles/packetdrill-lib.dir/gre_packet.c.o [ 15%] Building C object CMakeFiles/packetdrill-lib.dir/hash_map.c.o [ 15%] Building C object CMakeFiles/packetdrill-lib.dir/fmemopen.c.o [ 18%] Building C object CMakeFiles/packetdrill-lib.dir/hash.c.o [ 18%] Building C object CMakeFiles/packetdrill-lib.dir/ip_address.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/checksum.c.o -MF CMakeFiles/packetdrill-lib.dir/checksum.c.o.d -o CMakeFiles/packetdrill-lib.dir/checksum.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/checksum.c [ 20%] Building C object CMakeFiles/packetdrill-lib.dir/icmp_packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/code.c.o -MF CMakeFiles/packetdrill-lib.dir/code.c.o.d -o CMakeFiles/packetdrill-lib.dir/code.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/config.c.o -MF CMakeFiles/packetdrill-lib.dir/config.c.o.d -o CMakeFiles/packetdrill-lib.dir/config.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/config.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/epoll.c.o -MF CMakeFiles/packetdrill-lib.dir/epoll.c.o.d -o CMakeFiles/packetdrill-lib.dir/epoll.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/epoll.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/file.c.o -MF CMakeFiles/packetdrill-lib.dir/file.c.o.d -o CMakeFiles/packetdrill-lib.dir/file.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/file.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/fmemopen.c.o -MF CMakeFiles/packetdrill-lib.dir/fmemopen.c.o.d -o CMakeFiles/packetdrill-lib.dir/fmemopen.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/fmemopen.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/gre_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/gre_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/gre_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/gre_packet.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/hash.c.o -MF CMakeFiles/packetdrill-lib.dir/hash.c.o.d -o CMakeFiles/packetdrill-lib.dir/hash.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/hash.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/hash_map.c.o -MF CMakeFiles/packetdrill-lib.dir/hash_map.c.o.d -o CMakeFiles/packetdrill-lib.dir/hash_map.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/hash_map.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/icmp_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/icmp_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/icmp_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/ip_address.c.o -MF CMakeFiles/packetdrill-lib.dir/ip_address.c.o.d -o CMakeFiles/packetdrill-lib.dir/ip_address.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_address.c [ 21%] Building C object CMakeFiles/packetdrill-lib.dir/ip_packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/ip_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/ip_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/ip_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c [ 23%] Building C object CMakeFiles/packetdrill-lib.dir/link_layer.c.o [ 25%] Building C object CMakeFiles/packetdrill-lib.dir/ip_prefix.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/gre_packet.c: In function 'gre_header_append': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/gre_packet.c:36:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | asprintf(error, "too many headers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26%] Building C object CMakeFiles/packetdrill-lib.dir/logging.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/ip_prefix.c.o -MF CMakeFiles/packetdrill-lib.dir/ip_prefix.c.o.d -o CMakeFiles/packetdrill-lib.dir/ip_prefix.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_prefix.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c: In function 'ipv4_header_append': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:135:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | asprintf(error, "too many headers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/link_layer.c.o -MF CMakeFiles/packetdrill-lib.dir/link_layer.c.o.d -o CMakeFiles/packetdrill-lib.dir/link_layer.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/link_layer.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:143:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | asprintf(error, "bad IPv4 src address: '%s'\n", ip_src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:148:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | asprintf(error, "bad IPv4 dst address: '%s'\n", ip_dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c: In function 'ipv6_header_append': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:168:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | asprintf(error, "too many headers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:176:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | asprintf(error, "bad IPv6 src address: '%s'\n", ip_src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/ip_packet.c:181:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | asprintf(error, "bad IPv6 dst address: '%s'\n", ip_dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c: In function 'execute_code_command_line': [ 28%] Building C object CMakeFiles/packetdrill-lib.dir/mpls_packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/logging.c.o -MF CMakeFiles/packetdrill-lib.dir/logging.c.o.d -o CMakeFiles/packetdrill-lib.dir/logging.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/logging.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:609:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 609 | asprintf(&full_command_line, "%s %s", code->command_line, code->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:614:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | asprintf(&verbose_command_line, "cat %s", code->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:615:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 615 | system(verbose_command_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:622:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 622 | asprintf(error, "error running '%s' with system(3): %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 623 | code->command_line, strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:628:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 628 | asprintf(error, "'%s' got signal %d (%s)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 629 | code->command_line, | ~~~~~~~~~~~~~~~~~~~ 630 | WTERMSIG(status), strsignal(WTERMSIG(status))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:634:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 634 | asprintf(error, "'%s' returned non-zero status %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | code->command_line, WEXITSTATUS(status)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c: In function 'run_code_event': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:730:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 730 | asprintf(&error, "no socket to use for code"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:747:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 747 | asprintf(&error, | ^~~~~~~~~~~~~~~~ 748 | "can't find getsockopt to get TCP info"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:757:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 757 | asprintf(&error, | ^~~~~~~~~~~~~~~~ 758 | "can't find getsockopt to get TCP_CC_INFO"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/code.c:768:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 768 | asprintf(&error, | ^~~~~~~~~~~~~~~~ 769 | "can't find getsockopt to get sk_meminfo"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/mpls_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/mpls_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/mpls_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c: In function 'new_icmp_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:329:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 329 | asprintf(error, | ^~~~~~~~~~~~~~~ 330 | "invalid echo_id, must be between 0 and 65535"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:336:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 336 | asprintf(error, "IP options are not padded correctly " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 337 | "to ensure IP header is a multiple of 4 bytes: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 338 | "%d excess bytes", ip_option_bytes & 0x3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:343:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | asprintf(error, "icmp_bytes %d smaller than icmp header " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | "length %d", | ~~~~~~~~~~~~ 345 | icmp_bytes, icmp_header_len(address_family)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c: In function 'parse_icmp_type_and_code': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:262:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | asprintf(error, "bad ICMP type %s", type_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:279:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | asprintf(error, "bad ICMP code %s", code_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c: In function 'set_icmpv4_header': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:154:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | asprintf(error, | ^~~~~~~~~~~~~~~ 155 | "ICMPv4 MTU is only valid for " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "unreachable-frag_needed"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:160:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | asprintf(error, "ICMPv4 MTU out of 16-bit range"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c: In function 'set_icmpv6_header': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:181:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | asprintf(error, | ^~~~~~~~~~~~~~~ 182 | "ICMPv6 MTU is only valid for " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | "packet_too_big-0"); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/icmp_packet.c:187:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | asprintf(error, "ICMPv6 MTU out of 32-bit range"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 29%] Building C object CMakeFiles/packetdrill-lib.dir/net_utils.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/net_utils.c.o -MF CMakeFiles/packetdrill-lib.dir/net_utils.c.o.d -o CMakeFiles/packetdrill-lib.dir/net_utils.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c [ 31%] Building C object CMakeFiles/packetdrill-lib.dir/netdev.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/netdev.c.o -MF CMakeFiles/packetdrill-lib.dir/netdev.c.o.d -o CMakeFiles/packetdrill-lib.dir/netdev.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c [ 32%] Building C object CMakeFiles/packetdrill-lib.dir/open_memstream.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c: In function 'new_mpls_stack_entry': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c:34:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | asprintf(error, "MPLS label out of range for 20 bits"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c:39:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | asprintf(error, "MPLS traffic_class out of range for 3 bits"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c:44:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | asprintf(error, "MPLS ttl out of range for 8 bits"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c: In function 'mpls_header_append': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/mpls_packet.c:60:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | asprintf(error, "too many headers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/open_memstream.c.o -MF CMakeFiles/packetdrill-lib.dir/open_memstream.c.o.d -o CMakeFiles/packetdrill-lib.dir/open_memstream.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/open_memstream.c [ 34%] Building C object CMakeFiles/packetdrill-lib.dir/packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet.c.o -MF CMakeFiles/packetdrill-lib.dir/packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet.c [ 35%] Building C object CMakeFiles/packetdrill-lib.dir/packet_parser.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c: In function 'net_add_ipv4_address': [ 37%] Building C object CMakeFiles/packetdrill-lib.dir/packet_checksum.c.o [ 39%] Building C object CMakeFiles/packetdrill-lib.dir/packet_socket_linux.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c:55:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | asprintf(&command, "ip addr add %s/%d dev %s > /dev/null 2>&1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | ip_string, prefix_len, dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c: In function 'net_add_ipv6_address': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c:79:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | asprintf(&command, "ip addr add %s/%d dev %s > /dev/null 2>&1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | ip_string, prefix_len, dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet_checksum.c.o -MF CMakeFiles/packetdrill-lib.dir/packet_checksum.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet_checksum.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_checksum.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c: In function 'net_del_dev_address': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/net_utils.c:132:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | asprintf(&command, "ip addr del %s/%d dev %s > /dev/null 2>&1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | ip_string, prefix_len, dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet_parser.c.o -MF CMakeFiles/packetdrill-lib.dir/packet_parser.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet_parser.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c [ 40%] Building C object CMakeFiles/packetdrill-lib.dir/packet_socket_pcap.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet_socket_linux.c.o -MF CMakeFiles/packetdrill-lib.dir/packet_socket_linux.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet_socket_linux.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_socket_linux.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet_socket_pcap.c.o -MF CMakeFiles/packetdrill-lib.dir/packet_socket_pcap.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet_socket_pcap.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_socket_pcap.c [ 42%] Building C object CMakeFiles/packetdrill-lib.dir/packet_to_string.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/packet_to_string.c.o -MF CMakeFiles/packetdrill-lib.dir/packet_to_string.c.o.d -o CMakeFiles/packetdrill-lib.dir/packet_to_string.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_to_string.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c: In function 'create_device': [ 43%] Building C object CMakeFiles/packetdrill-lib.dir/pipe.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c:192:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | asprintf(&command, "ethtool -s %s speed %u autoneg off", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | netdev->name, config->speed); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c:201:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 201 | asprintf(&command, "ifconfig %s down; sleep 1; ifconfig %s up; " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | "sleep 1", netdev->name, netdev->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c:210:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | asprintf(&command, "ifconfig %s mtu %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | netdev->name, config->mtu); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c: In function 'route_traffic_to_device': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/netdev.c:253:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | asprintf(&route_command, | ^~~~~~~~~~~~~~~~~~~~~~~~ 254 | "ip -%d route del %s > /dev/null 2>&1 ; " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | "ip -%d route add %s dev %s %s%s > /dev/null 2>&1", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | (config->wire_protocol == AF_INET) ? 4 : 6, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 257 | config->live_remote_prefix_string, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | (config->wire_protocol == AF_INET) ? 4 : 6, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | config->live_remote_prefix_string, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | netdev->name, | ~~~~~~~~~~~~~ 261 | config->is_anyip ? "" : "via ", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | config->is_anyip ? "" : | ~~~~~~~~~~~~~~~~~~~~~~~ 263 | config->live_gateway_ip_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45%] Building C object CMakeFiles/packetdrill-lib.dir/run_command.c.o [ 46%] Building C object CMakeFiles/packetdrill-lib.dir/run.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/pipe.c.o -MF CMakeFiles/packetdrill-lib.dir/pipe.c.o.d -o CMakeFiles/packetdrill-lib.dir/pipe.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/pipe.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/run.c.o -MF CMakeFiles/packetdrill-lib.dir/run.c.o.d -o CMakeFiles/packetdrill-lib.dir/run.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c [ 48%] Building C object CMakeFiles/packetdrill-lib.dir/run_packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/run_command.c.o -MF CMakeFiles/packetdrill-lib.dir/run_command.c.o.d -o CMakeFiles/packetdrill-lib.dir/run_command.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_command.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/run_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/run_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/run_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:191:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | asprintf(error, "%s: packet of %d bytes:\n%s", message, in_bytes, hex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 50%] Building C object CMakeFiles/packetdrill-lib.dir/run_system_call.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_layer2_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:69:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | asprintf(error, "Ethernet header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_layer3_packet_by_proto': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:94:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | asprintf(error, "IPv4 header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:105:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | asprintf(error, "Bad IP version (%d) for ETHERTYPE_IP", ip->version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:113:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | asprintf(error, "IPv6 header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:124:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | asprintf(error, "Bad IP version for ETHERTYPE_IPV6"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_ipv4': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:214:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | asprintf(error, "IP header too short"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:218:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | asprintf(error, "Full IP header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:224:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | asprintf(error, "IP payload overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:228:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | asprintf(error, "IP header bigger than datagram"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:232:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | asprintf(error, "More fragments remaining"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:236:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | asprintf(error, "Non-zero fragment offset"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:241:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 241 | asprintf(error, "Bad IP checksum"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:247:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 247 | asprintf(error, "Too many nested headers at IPv4 header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/run_system_call.c.o -MF CMakeFiles/packetdrill-lib.dir/run_system_call.c.o.d -o CMakeFiles/packetdrill-lib.dir/run_system_call.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_tcp': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:365:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 365 | asprintf(error, "Truncated TCP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:371:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | asprintf(error, "TCP data offset too small"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:375:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 375 | asprintf(error, "TCP data offset too big"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:381:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 381 | asprintf(error, "Too many nested headers at TCP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_udp': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:406:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | asprintf(error, "Truncated UDP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:413:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 413 | asprintf(error, "UDP datagram length too small for UDP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:417:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 417 | asprintf(error, "UDP datagram length too small"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:421:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 421 | asprintf(error, "UDP datagram length too big"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:427:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 427 | asprintf(error, "Too many nested headers at UDP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_icmpv4': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:453:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 453 | asprintf(error, "Truncated ICMPv4 header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:460:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 460 | asprintf(error, "Too many nested headers at ICMP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_icmpv6': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:485:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 485 | asprintf(error, "Truncated ICMPv6 header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:492:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 492 | asprintf(error, "Too many nested headers at ICMP header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_gre': [ 51%] Building C object CMakeFiles/packetdrill-lib.dir/script.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:518:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 518 | asprintf(error, "Truncated GRE header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:522:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 522 | asprintf(error, "GRE header has unsupported version number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:526:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 526 | asprintf(error, "GRE header has unsupported routing info"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:531:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 531 | asprintf(error, "GRE header length too small for GRE header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:535:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 535 | asprintf(error, "GRE header length too big"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:545:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 545 | asprintf(error, "Too many nested headers at GRE header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_ipv6': /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/script.c.o -MF CMakeFiles/packetdrill-lib.dir/script.c.o.d -o CMakeFiles/packetdrill-lib.dir/script.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:302:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | asprintf(error, "IPv6 header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:311:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | asprintf(error, "IPv6 payload overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:318:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | asprintf(error, "Too many nested headers at IPv6 header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_mpls': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:572:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 572 | asprintf(error, "MPLS stack entry overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:587:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 587 | asprintf(error, "Too many nested headers at MPLS header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c: In function 'parse_layer3_packet': [ 53%] Building C object CMakeFiles/packetdrill-lib.dir/socket.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:148:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | asprintf(error, "IP header overflows packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser.c:161:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | asprintf(error, "Unsupported IP version"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/socket.c.o -MF CMakeFiles/packetdrill-lib.dir/socket.c.o.d -o CMakeFiles/packetdrill-lib.dir/socket.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/socket.c [ 54%] Building C object CMakeFiles/packetdrill-lib.dir/so_testing.c.o [ 56%] Building C object CMakeFiles/packetdrill-lib.dir/symbols_freebsd.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c: In function 'verify_time': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:207:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | asprintf(error, | ^~~~~~~~~~~~~~~ 208 | "timing error: expected " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%s in time range %.6f~%.6f sec " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | "but happened at %.6f sec", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | description, | ~~~~~~~~~~~~ 212 | usecs_to_secs(script_usecs), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | usecs_to_secs(script_usecs_end), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | usecs_to_secs(actual_usecs)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:217:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 217 | asprintf(error, | ^~~~~~~~~~~~~~~ 218 | "timing error: expected " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 219 | "%s in relative time range +%.6f~+%.6f " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | "sec but happened at %+.6f sec", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | description, | ~~~~~~~~~~~~ 222 | usecs_to_secs(script_usecs - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | offset_usecs), | ~~~~~~~~~~~~~~ 224 | usecs_to_secs(script_usecs_end - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | offset_usecs), | ~~~~~~~~~~~~~~ 226 | usecs_to_secs(actual_usecs - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227 | offset_usecs)); | ~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:237:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 237 | asprintf(error, | ^~~~~~~~~~~~~~~ 238 | "timing error: " | ~~~~~~~~~~~~~~~~ 239 | "expected %s at %.6f sec but happened at %.6f sec; " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 | "tolerance %.6f sec", | ~~~~~~~~~~~~~~~~~~~~~ 241 | description, | ~~~~~~~~~~~~ 242 | usecs_to_secs(script_usecs), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 | usecs_to_secs(actual_usecs), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 244 | usecs_to_secs(tolerance_usecs)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c: In function 'get_next_event': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:397:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | asprintf(error, | ^~~~~~~~~~~~~~~ 398 | "%s:%d: first event should be at time 0\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 399 | state->config->script_path, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 400 | state->event->line_number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:420:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | asprintf(error, | ^~~~~~~~~~~~~~~ 421 | "%s:%d: time goes backward in script " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 422 | "from %lld usec to %lld usec\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 423 | state->config->script_path, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 424 | state->event->line_number, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 425 | state->script_last_time_usecs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | state->event->time_usecs); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c: In function 'run_script': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run.c:599:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 599 | asprintf(&error, "%s: error executing init command: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | config->script_path, error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/so_testing.c.o -MF CMakeFiles/packetdrill-lib.dir/so_testing.c.o.d -o CMakeFiles/packetdrill-lib.dir/so_testing.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/so_testing.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'run_packet_event': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1929:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1929 | asprintf(error, "%s:%d: %s handling packet: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1930 | state->config->script_path, event->line_number, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1931 | result == STATUS_ERR ? "error" : "warning", err); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'find_or_create_socket_for_script_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1618:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1618 | asprintf(error, "no matching socket for script packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'do_outbound_script_packet': [ 59%] Building C object CMakeFiles/packetdrill-lib.dir/symbols_linux.c.o [ 59%] Building C object CMakeFiles/packetdrill-lib.dir/symbols_netbsd.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1758:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1758 | asprintf(error, "live packet payload: expected %d bytes vs " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1759 | "actual %d bytes", | ~~~~~~~~~~~~~~~~~~ 1760 | expected_payload_len, sniffed_payload_len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'sniff_outbound_live_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1547:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1547 | asprintf(error, "packet is not for expected socket"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building C object CMakeFiles/packetdrill-lib.dir/symbols_openbsd.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/symbols_freebsd.c.o -MF CMakeFiles/packetdrill-lib.dir/symbols_freebsd.c.o.d -o CMakeFiles/packetdrill-lib.dir/symbols_freebsd.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/symbols_freebsd.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_packet_fragments': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1462:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1462 | asprintf(error, "fragment payload: expected %d bytes vs " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1463 | "actual %d bytes; " | ~~~~~~~~~~~~~~~~~~~ 1464 | "total payload: expected %d bytes vs " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1465 | "actual %d bytes", | ~~~~~~~~~~~~~~~~~~ 1466 | packet_payload_len(previous_fragment), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1467 | current_payload, | ~~~~~~~~~~~~~~~~ 1468 | expected_total_payload, | ~~~~~~~~~~~~~~~~~~~~~~~ 1469 | current_payload + sniffed_payload); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 62%] Building C object CMakeFiles/packetdrill-lib.dir/system.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_headers': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1141:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1141 | asprintf(error, "%s packet header layers: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1142 | "expected: %d headers vs actual: %d headers", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1143 | (strict ? "live" : "aggregate candidate"), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1144 | script_headers, actual_headers); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/symbols_netbsd.c.o -MF CMakeFiles/packetdrill-lib.dir/symbols_netbsd.c.o.d -o CMakeFiles/packetdrill-lib.dir/symbols_netbsd.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/symbols_netbsd.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/system.c.o -MF CMakeFiles/packetdrill-lib.dir/system.c.o.d -o CMakeFiles/packetdrill-lib.dir/system.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/system.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_header': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1108:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1108 | asprintf(error, "live packet header layer %d: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1109 | "expected: %s header vs actual: %s header", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | layer, | ~~~~~~ 1111 | header_type_info(script_header->type)->name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1112 | header_type_info(actual_header->type)->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'check_field': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:717:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 717 | asprintf(error, "live packet field %s: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 718 | "expected: %u (0x%x) vs actual: %u (0x%x)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 719 | name, expected, expected, actual, actual); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_mpls': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1025:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1025 | asprintf(error, "mismatch in MPLS label stack depth"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1033:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1033 | asprintf(error, "mismatch in MPLS label %d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_gre': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:975:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 975 | asprintf(error, "mismatch in GRE flags"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:979:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 979 | asprintf(error, "mismatch in GRE proto"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:985:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 985 | asprintf(error, "mismatch in GRE sum"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:989:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 989 | asprintf(error, "mismatch in GRE off"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:996:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 996 | asprintf(error, "mismatch in GRE key"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1003:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1003 | asprintf(error, "mismatch in GRE seq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 64%] Building C object CMakeFiles/packetdrill-lib.dir/tcp_options.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_tos': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:736:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 736 | asprintf(error, "live packet field ip_ecn: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 737 | "expected: 0x1 or 0x2 vs actual: 0x%x", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 738 | actual_ecn_bits); | ~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'add_packet_dump': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:97:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | asprintf(error, "%s\n%s packet: %9.6f %s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | old_error, type, usecs_to_secs(time_usecs), dump, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | dump_error ? "\n" : "", | ~~~~~~~~~~~~~~~~~~~~~~~ 100 | dump_error ? dump_error : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'dump_one_sniffed_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1484:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1484 | asprintf(&packet_desc, "actual #%d", packet_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_checksums': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:696:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 696 | asprintf(error, "bad outbound IP checksum"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c: In function 'symbol_to_int': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:147:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | asprintf(error, "unknown symbol: '%s'", input_symbol); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c: In function 'flags_to_string': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_ipv6_flowlabel': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:214:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | asprintf(&tmp, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 215 | out, | ~~~~ 216 | out[0] ? "|" : "", | ~~~~~~~~~~~~~~~~~~ 217 | flag_name(flags_array, bit_mask)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1177:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1177 | asprintf(error, | ^~~~~~~~~~~~~~~ 1178 | "flowlabel unmarked in the live packet"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1194:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1194 | asprintf(error, | ^~~~~~~~~~~~~~~ 1195 | "expected a different flowlabel but got " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1196 | "the same"); | ~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c: In function 'evaluate': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:666:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 666 | asprintf(error, "bad expression type: %d", in->type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c: In function 'unescape_cstring_expression': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1204:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1204 | asprintf(error, | ^~~~~~~~~~~~~~~ 1205 | "inconsistent flowlabels for this packet: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1206 | "expected: 0x%x vs actual: 0x%x", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1207 | socket->flowlabel_map.flowlabel_live, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1208 | live_flowlabel); | ~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_tcp_options': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1305:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1305 | asprintf(error, "bad outbound TCP options"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:273:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | asprintf(error, | ^~~~~~~~~~~~~~~ 274 | "invalid hex escape (\\xhh): '\\x%s'", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | c_in); | ~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_tcp_option': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1260:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1260 | asprintf(error, "bad outbound TCP timestamp value, tolerance %ld", tolerance_usecs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1267:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1267 | asprintf(error, | ^~~~~~~~~~~~~~~ 1268 | "bad lengths for outbound TCP option %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1269 | script_option->kind); | ~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:279:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | asprintf(error, "unsupported escape code: '%c'", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | *c_in); | ~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c: In function 'evaluate_binary_expression': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:443:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 443 | asprintf(error, "left hand side of | not an integer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:445:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 445 | asprintf(error, "right hand side of | not an integer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:456:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | asprintf(error, "bad input types for concatenation"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/script.c:466:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | asprintf(error, "bad binary operator '%s'", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 467 | in->value.binary->op); | ~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1275:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1275 | asprintf(error, "bad value outbound TCP option %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1276 | script_option->kind); | ~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'verify_outbound_live_payload': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:1334:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1334 | asprintf(error, "incorrect outbound data payload"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c: In function 'map_inbound_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_packet.c:582:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 582 | asprintf(error, | ^~~~~~~~~~~~~~~ 583 | "unable to infer live TS ecr for " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | "script TS ecr %u; " | ~~~~~~~~~~~~~~~~~~~~~ 585 | "no matching or preceding outbound TS val", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | packet_tcp_ts_ecr(live_packet)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/symbols_linux.c.o -MF CMakeFiles/packetdrill-lib.dir/symbols_linux.c.o.d -o CMakeFiles/packetdrill-lib.dir/symbols_linux.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/symbols_linux.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/symbols_openbsd.c.o -MF CMakeFiles/packetdrill-lib.dir/symbols_openbsd.c.o.d -o CMakeFiles/packetdrill-lib.dir/symbols_openbsd.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/symbols_openbsd.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/tcp_options.c.o -MF CMakeFiles/packetdrill-lib.dir/tcp_options.c.o.d -o CMakeFiles/packetdrill-lib.dir/tcp_options.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options.c [ 65%] Building C object CMakeFiles/packetdrill-lib.dir/tcp_options_iterator.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/tcp_options_iterator.c.o -MF CMakeFiles/packetdrill-lib.dir/tcp_options_iterator.c.o.d -o CMakeFiles/packetdrill-lib.dir/tcp_options_iterator.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c [ 67%] Building C object CMakeFiles/packetdrill-lib.dir/tcp_options_to_string.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/system.c: In function 'safe_system': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/system.c:38:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | asprintf(error, "%s", strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/system.c:43:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | asprintf(error, "got signal %d (%s)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | WTERMSIG(status), strsignal(WTERMSIG(status))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/tcp_options_to_string.c.o -MF CMakeFiles/packetdrill-lib.dir/tcp_options_to_string.c.o.d -o CMakeFiles/packetdrill-lib.dir/tcp_options_to_string.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_to_string.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/system.c:48:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | asprintf(error, "non-zero status %d", WEXITSTATUS(status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'check_arg_count': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:156:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | asprintf(error, "Expected %d args but got %d", expected, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | actual); | ~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'to_live_fd': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1251:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1251 | asprintf(error, "unable to find fd with script fd %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1252 | script_fd); | ~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'get_arg': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:178:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | asprintf(error, "Argument list too short"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'check_type': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:194:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | asprintf(error, "Bad type; actual: %s expected: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | expression_type_to_string(expression->type), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | expression_type_to_string(expected_type)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'get_s32': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:212:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | asprintf(error, | ^~~~~~~~~~~~~~~ 213 | "Value out of range for 32-bit integer: %lld", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | expression->value.num); | ~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'end_syscall': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1170:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1170 | asprintf(error, | ^~~~~~~~~~~~~~~ 1171 | "Expected non-negative result but got %d " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1172 | "with errno %d (%s)", | ~~~~~~~~~~~~~~~~~~~~~ 1173 | actual, actual_errno, strerror(actual_errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1178:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1178 | asprintf(error, | ^~~~~~~~~~~~~~~ 1179 | "Expected result %d but got %d " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1180 | "with errno %d (%s)", | ~~~~~~~~~~~~~~~~~~~~~ 1181 | expected, | ~~~~~~~~~ 1182 | actual, actual_errno, strerror(actual_errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1196:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1196 | asprintf(error, | ^~~~~~~~~~~~~~~ 1197 | "Expected errno %d (%s) but got %d (%s)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1198 | (int)expected_errno, strerror(expected_errno), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1199 | actual_errno, strerror(actual_errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'get_pipe_expression': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3175:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3175 | asprintf(error, "%d pipe file descriptors instead of 2\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3176 | list_len); | ~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'check_duplicate_fd': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1264:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1264 | asprintf(error, "duplicate fd %d in script", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1265 | script_fd); | ~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1269:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1269 | asprintf(error, "duplicate live fd %d", live_fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_epoll_wait': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3077:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3077 | asprintf(error, "Failed to calloc %d struct epoll_event\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3078 | maxevents); | ~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3096:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3096 | asprintf(error, | ^~~~~~~~~~~~~~~ 3097 | "epoll_event->events does not match script: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3098 | "expected: 0x%x " | ~~~~~~~~~~~~~~~~~ 3099 | "actual: 0x%x\n", | ~~~~~~~~~~~~~~~~~ 3100 | event_script.events, event_live->events); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3107:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3107 | asprintf(error, | ^~~~~~~~~~~~~~~ 3108 | "epoll_event->data does not match script: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3109 | "expected: %p " | ~~~~~~~~~~~~~~~ 3110 | "actual: %p\n", | ~~~~~~~~~~~~~~~ 3111 | event_script.data.ptr, | ~~~~~~~~~~~~~~~~~~~~~~ 3112 | event_live->data.ptr); | ~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3118:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3118 | asprintf(error, | ^~~~~~~~~~~~~~~ 3119 | "epoll_event->data does not match script: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3120 | "expected: %d " | ~~~~~~~~~~~~~~~ 3121 | "actual: %d\n", | ~~~~~~~~~~~~~~~ 3122 | event_script.data.fd, | ~~~~~~~~~~~~~~~~~~~~~ 3123 | event_live->data.fd); | ~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3129:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3129 | asprintf(error, | ^~~~~~~~~~~~~~~ 3130 | "epoll_event->data does not match script: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3131 | "expected: %u " | ~~~~~~~~~~~~~~~ 3132 | "actual: %u\n", | ~~~~~~~~~~~~~~~ 3133 | event_script.data.u32, | ~~~~~~~~~~~~~~~~~~~~~~ 3134 | event_live->data.u32); | ~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3140:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3140 | asprintf(error, | ^~~~~~~~~~~~~~~ 3141 | "epoll_event->data does not match script: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3142 | "expected: %lu " | ~~~~~~~~~~~~~~~~ 3143 | "actual: %lu\n", | ~~~~~~~~~~~~~~~~ 3144 | event_script.data.u64, | ~~~~~~~~~~~~~~~~~~~~~~ 3145 | event_live->data.u64); | ~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3150:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3150 | asprintf(error, "wrong event->data type\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'get_epoll_event_from_expr': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2950:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2950 | asprintf(error, | ^~~~~~~~~~~~~~~ 2951 | "wrong fd specified in epoll_event\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2968:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2968 | asprintf(error, "epoll_event specified incorrectly"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'bracketed_arg': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:275:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | asprintf(error, | ^~~~~~~~~~~~~~~ 276 | "Expected [] but got multiple elements"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_poll': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2773:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2773 | asprintf(error, | ^~~~~~~~~~~~~~~ 2774 | "nfds %d does not match %d-element pollfd array", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2775 | nfds, (int)fds_len); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'pollfds_check': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1102:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1102 | asprintf(error, | ^~~~~~~~~~~~~~~ 1103 | "Expected revents of %s but got %s " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1104 | "for pollfd %d", | ~~~~~~~~~~~~~~~~ 1105 | expected_revents_string, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1106 | actual_revents_string, | ~~~~~~~~~~~~~~~~~~~~~~ 1107 | i); | ~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_setsockopt': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2730:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2730 | asprintf(error, "unsupported setsockopt value type: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2731 | expression_type_to_string( | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2732 | val_expression->type)); | ~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_getsockopt': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2584:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2584 | asprintf(error, | ^~~~~~~~~~~~~~~ 2585 | "Bad getsockopt optlen: expected: %d actual: %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2586 | (int)script_optlen, (int)live_optlen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2600:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2600 | asprintf(error, | ^~~~~~~~~~~~~~~ 2601 | "Bad getsockopt optval: " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 2602 | "expected optlen (%d bytes) does not match " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2603 | "length of expected optval string '%s' " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2604 | "(%d bytes)", | ~~~~~~~~~~~~~ 2605 | script_optlen, | ~~~~~~~~~~~~~~ 2606 | script_optval_pretty, | ~~~~~~~~~~~~~~~~~~~~~ 2607 | (int)val_expression->value.buf.len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2612:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2612 | asprintf(error, | ^~~~~~~~~~~~~~~ 2613 | "Bad getsockopt optval: " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 2614 | "expected: '%s' actual: '%s'", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2615 | script_optval_pretty, live_optval_pretty); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2620:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2620 | asprintf(error, "Unsupported getsockopt optlen: %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2621 | (int)script_optlen); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2629:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | asprintf(error, | ^~~~~~~~~~~~~~~ 2630 | "Bad getsockopt optval: " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 2631 | "expected: %d actual: %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2632 | script_optval_s32, *(s32 *)live_optval); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2640:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2640 | asprintf(error, "Unsupported getsockopt optlen: %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2641 | (int)script_optlen); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2650:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2650 | asprintf(error, "Bad getsockopt optval."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2659:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2659 | asprintf(error, "Unsupported getsockopt optlen: %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2660 | (int)script_optlen); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2669:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2669 | asprintf(error, | ^~~~~~~~~~~~~~~ 2670 | "Bad getsockopt optval: " | ~~~~~~~~~~~~~~~~~~~~~~~~~ 2671 | "expected: %s " | ~~~~~~~~~~~~~~~ 2672 | "actual: %s ", | ~~~~~~~~~~~~~~ 2673 | script_buf, live_buf); | ~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2677:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2677 | asprintf(error, "unsupported getsockopt value type: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2678 | expression_type_to_string( | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2679 | val_expression->type)); | ~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'run_syscall_close': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1392:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1392 | asprintf(error, | ^~~~~~~~~~~~~~~ 1393 | "unable to find fd with script fd %d and live fd %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1394 | script_fd, live_fd); | ~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_ioctl': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2419:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2419 | asprintf(error, "ioctl expected 2-3 args but got %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2420 | actual_arg_count); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2464:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2464 | asprintf(error, | ^~~~~~~~~~~~~~~ 2465 | "Bad ioctl optval: expected: %d actual: %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2466 | (int)script_optval, (int)live_optval); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_fcntl': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2369:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2369 | asprintf(error, "fcntl expected 2-3 args but got %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2370 | actual_arg_count); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_sendmsg': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2273:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2273 | asprintf(error, "sendmsg ignores msg_flags field in msghdr"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'msghdr_new': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:988:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | asprintf(error, | ^~~~~~~~~~~~~~~ 989 | "msg_iovlen %d does not match %d-element iovec array", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 990 | (int)msg->msg_iovlen, (int)*iov_len_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 68%] Building C object CMakeFiles/packetdrill-lib.dir/types.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'cmsg_new': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:624:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 624 | asprintf(error, "Unrecognized type for cmsg_data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'nla_expr_list_to_nla': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:469:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 469 | asprintf(error, | ^~~~~~~~~~~~~~~ 470 | "values must be numeric or ellipsis"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:476:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | asprintf(error, "bad NLA type %lld\n", key_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'run_syscall_connect': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1565:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1565 | asprintf(error, "socket is not new"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options.c: In function 'num_sack_blocks': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options.c:59:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | asprintf(error, "TCP SACK option too short"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options.c:64:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | asprintf(error, | ^~~~~~~~~~~~~~~ 65 | "TCP SACK option not a multiple of SACK block size"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'buffer_arg': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1295:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1295 | asprintf(error, "Expected ... or NULL for buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_writev': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2117:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2117 | asprintf(error, | ^~~~~~~~~~~~~~~ 2118 | "iov_count %d does not match %d-element iovec array", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2119 | iov_count, (int)iov_len); | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_recvmsg': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:2039:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2039 | asprintf(error, "Expected msg_flags 0x%08X but got 0x%08X", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2040 | expected_msg->msg_flags, msg->msg_flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 70%] Building C object CMakeFiles/packetdrill-lib.dir/tcp_packet.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'cmsg_expect_eq': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:857:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 857 | asprintf(error, | ^~~~~~~~~~~~~~~ 858 | "Bad level in cmsg %d: expected=%d actual=%d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 859 | i, ecm->cmsg_level, acm->cmsg_level); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:863:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 863 | asprintf(error, | ^~~~~~~~~~~~~~~ 864 | "Bad type in cmsg %d: expected=%d actual=%d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 865 | i, ecm->cmsg_type, acm->cmsg_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:869:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 869 | asprintf(error, | ^~~~~~~~~~~~~~~ 870 | "Bad len in cmsg %d: expected=%lu actual=%lu", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 871 | i, ecm->cmsg_len, acm->cmsg_len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 71%] Building C object CMakeFiles/packetdrill-lib.dir/udp_packet.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/tcp_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/tcp_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/tcp_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:881:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 881 | asprintf(error, | ^~~~~~~~~~~~~~~ 882 | "Bad data in cmsg %d: " | ~~~~~~~~~~~~~~~~~~~~~~~ 883 | "expected is null, actual is not null", i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:886:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 886 | asprintf(error, | ^~~~~~~~~~~~~~~ 887 | "Bad data in cmsg %d: " | ~~~~~~~~~~~~~~~~~~~~~~~ 888 | "expected is not null, actual is null", i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:915:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 915 | asprintf(error, | ^~~~~~~~~~~~~~~ 916 | "Bad data in cmsg %d: expected=%s actual=%s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 917 | i, (char *)edata, (char *)adata); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:925:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 925 | asprintf(error, "received more than %d cmsgs", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:929:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 929 | asprintf(error, "received only %d cmsgs", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:932:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 932 | asprintf(error, "cmsgs do not match"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'sock_ee_expect_eq': /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/types.c.o -MF CMakeFiles/packetdrill-lib.dir/types.c.o.d -o CMakeFiles/packetdrill-lib.dir/types.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/types.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/udp_packet.c.o -MF CMakeFiles/packetdrill-lib.dir/udp_packet.c.o.d -o CMakeFiles/packetdrill-lib.dir/udp_packet.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/udp_packet.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:647:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 647 | asprintf(error, | ^~~~~~~~~~~~~~~ 648 | "Bad errno in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 649 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 650 | index, expected->ee_errno, actual->ee_errno); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:654:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | asprintf(error, | ^~~~~~~~~~~~~~~ 655 | "Bad origin in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 656 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 657 | index, expected->ee_origin, actual->ee_origin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:661:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 661 | asprintf(error, | ^~~~~~~~~~~~~~~ 662 | "Bad type in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 663 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 664 | index, expected->ee_type, actual->ee_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:668:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 668 | asprintf(error, | ^~~~~~~~~~~~~~~ 669 | "Bad code in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 670 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 671 | index, expected->ee_code, actual->ee_code); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:675:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 675 | asprintf(error, | ^~~~~~~~~~~~~~~ 676 | "Bad info in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 677 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 678 | index, expected->ee_info, actual->ee_info); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:682:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 682 | asprintf(error, | ^~~~~~~~~~~~~~~ 683 | "Bad data in extended err %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 684 | "expected=%u actual=%u", | ~~~~~~~~~~~~~~~~~~~~~~~~ 685 | index, expected->ee_data, actual->ee_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'scm_timestamping_expect_eq': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:718:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 718 | asprintf(error, | ^~~~~~~~~~~~~~~ 719 | "Bad timestamp %d in scm_timestamping %d: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 720 | "expected=%lld (%lld) actual=%lld (%lld) " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 721 | "start=%lld", | ~~~~~~~~~~~~~ 722 | i, index, | ~~~~~~~~~ 723 | exp_usecs, | ~~~~~~~~~~ 724 | exp_usecs - state->live_start_time_usecs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 725 | actual_usecs, | ~~~~~~~~~~~~~ 726 | actual_usecs - state->live_start_time_usecs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 727 | state->live_start_time_usecs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'scm_opt_stats_expect_eq': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:752:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 752 | asprintf(error, | ^~~~~~~~~~~~~~~ 753 | "Bad nla_type %d: " | ~~~~~~~~~~~~~~~~~~~ 754 | "expected=%u actual=%u", index, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | enla->nla_type, anla->nla_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:760:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 760 | asprintf(error, | ^~~~~~~~~~~~~~~ 761 | "Bad nla_len %d: " | ~~~~~~~~~~~~~~~~~~ 762 | "expected=%u actual=%u", index, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 763 | enla->nla_len, anla->nla_len); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:783:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | asprintf(error, "Bad %s: expected=%llu actual=%llu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | tcp_nla[enla->nla_type].name, ev, av); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:797:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 797 | asprintf(error, "Bad %s: expected=%llu actual=%llu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 798 | tcp_nla[enla->nla_type].name, ev, av); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:816:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | asprintf(error, "Bad %s: expected=%u actual=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | tcp_nla[enla->nla_type].name, ev_u32, av_u32); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:829:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 829 | asprintf(error, "Bad %s: expected=%u actual=%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 830 | tcp_nla[enla->nla_type].name, ev_u8, av_u8); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'syscall_readv': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1893:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1893 | asprintf(error, | ^~~~~~~~~~~~~~~ 1894 | "iov_count %d does not match %d-element iovec array", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1895 | iov_count, (int)iov_len); | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'run_syscall_accept': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1490:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1490 | asprintf(error, "unable to find socket matching accept() call"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'run_syscall_listen': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1432:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1432 | asprintf(error, "unable to find socket with script fd %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1433 | script_fd); | ~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'run_syscall_socket': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1349:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1349 | asprintf(error, "invalid socket fd %d in script", script_fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:1353:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1353 | asprintf(error, "invalid live socket fd %d", live_fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'enqueue_system_call': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3403:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3403 | asprintf(&error, "blocking system call while another blocking " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3404 | "system call is already in progress"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'is_thread_sleeping': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:106:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | asprintf(&proc_path, "/proc/%d/task/%d/stat", process_id, thread_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c: In function 'invoke_system_call': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/run_system_call.c:3331:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 3331 | asprintf(&error, "Unknown system call: '%s'", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 73%] Building C object CMakeFiles/packetdrill-lib.dir/wire_client_netdev.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_client_netdev.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_client_netdev.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_client_netdev.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client_netdev.c [ 75%] Building C object CMakeFiles/packetdrill-lib.dir/wire_conn.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c: In function 'get_expected_tcp_option_length': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c:72:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | asprintf(error, "unexpected TCP option kind: %u", kind); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c: In function 'get_tcp_option_length': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c:89:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | asprintf(error, "TCP option length byte extends too far"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c:94:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | asprintf(error, "TCP option with length byte is too short"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c:99:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | asprintf(error, "TCP option data extends too far"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_iterator.c:103:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | asprintf(error, | ^~~~~~~~~~~~~~~ 104 | "bad TCP option length: was %u but expected %u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 105 | *length, expected_length); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_to_string.c: In function 'tcp_options_to_string': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_to_string.c:145:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | asprintf(error, | ^~~~~~~~~~~~~~~ 146 | "unknown experimental option"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_options_to_string.c:152:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | asprintf(error, "unexpected TCP option kind: %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | option->kind); | ~~~~~~~~~~~~~ [ 76%] Building C object CMakeFiles/packetdrill-lib.dir/wire_client.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_conn.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_conn.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_conn.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_conn.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_client.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_client.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_client.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client.c [ 78%] Building C object CMakeFiles/packetdrill-lib.dir/wire_protocol.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c: In function 'new_tcp_packet': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:119:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | asprintf(error, "IP options are not padded correctly " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | "to ensure IP header is a multiple of 4 bytes: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | "%d excess bytes", ip_option_bytes & 0x3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:125:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | asprintf(error, | ^~~~~~~~~~~~~~~ 126 | "TCP options are not padded correctly " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | "to ensure TCP header is a multiple of 4 bytes: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | "%d excess bytes", tcp_option_bytes & 0x3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:135:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | asprintf(error, "TCP header too large"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:140:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | asprintf(error, "TCP segment too large"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:175:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | asprintf(error, "window must be specified" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 176 | " for inbound packets"); | ~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c: In function 'is_tcp_flags_spec_valid': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:49:25: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | asprintf(error, "Invalid TCP flag: '%c'", *s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:54:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | asprintf(error, | ^~~~~~~~~~~~~~~ 55 | "Conflicting TCP flag: '%c'", *s); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/tcp_packet.c:62:33: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | asprintf(error, | ^~~~~~~~~~~~~~~ 63 | "Conflicting TCP flag: '%c'", *s); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_protocol.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_protocol.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_protocol.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_protocol.c [ 79%] Building C object CMakeFiles/packetdrill-lib.dir/wire_server.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_server.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_server.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_server.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/udp_packet.c: In function 'new_udp_packet': [ 81%] Building C object CMakeFiles/packetdrill-lib.dir/wire_server_netdev.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/udp_packet.c:50:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | asprintf(error, "IP options are not padded correctly " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "to ensure IP header is a multiple of 4 bytes: " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | "%d excess bytes", ip_option_bytes & 0x3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/udp_packet.c:59:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | asprintf(error, "UDP datagram too large"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wire_server_netdev.c.o -MF CMakeFiles/packetdrill-lib.dir/wire_server_netdev.c.o.d -o CMakeFiles/packetdrill-lib.dir/wire_server_netdev.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client_netdev.c: In function 'route_traffic_to_wire_server': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client_netdev.c:69:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | asprintf(&route_command, | ^~~~~~~~~~~~~~~~~~~~~~~~ 70 | "ip %s route del %s > /dev/null 2>&1 ; " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | "ip %s route add %s dev %s via %s > /dev/null 2>&1", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | (config->wire_protocol == AF_INET6) ? "-6" : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | config->live_remote_prefix_string, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (config->wire_protocol == AF_INET6) ? "-6" : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | config->live_remote_prefix_string, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | netdev->name, | ~~~~~~~~~~~~~ 77 | config->live_gateway_ip_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client_netdev.c:103:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | system(route_command); | ^~~~~~~~~~~~~~~~~~~~~ [ 82%] Building C object CMakeFiles/packetdrill-lib.dir/wrap.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/wrap.c.o -MF CMakeFiles/packetdrill-lib.dir/wrap.c.o.d -o CMakeFiles/packetdrill-lib.dir/wrap.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wrap.c [ 84%] Building C object CMakeFiles/packetdrill-lib.dir/parser.c.o /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client.c: In function 'wire_client_receive_packets_done': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_client.c:233:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | asprintf(&msg, "bad wire server: bad message count: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | "got: %d vs expected: %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | ntohl(done.num_events), wire_client->num_events); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/parser.c.o -MF CMakeFiles/packetdrill-lib.dir/parser.c.o.d -o CMakeFiles/packetdrill-lib.dir/parser.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.c [ 85%] Building C object CMakeFiles/packetdrill-lib.dir/lexer.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill-lib.dir/lexer.c.o -MF CMakeFiles/packetdrill-lib.dir/lexer.c.o.d -o CMakeFiles/packetdrill-lib.dir/lexer.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/lexer.c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c: In function 'wire_server_netdev_init': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c:77:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | asprintf(&command, | ^~~~~~~~~~~~~~~~~~ 78 | "(ethtool --offload eth0 lro off gro off; " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | " ethtool --offload eth1 lro off gro off; " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | " ethtool --offload eth2 lro off gro off) " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | " > /dev/null 2>&1"); | ~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c:85:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | system(command); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c:94:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | asprintf(&command, | ^~~~~~~~~~~~~~~~~~ 95 | "ip6tables -F OUTPUT; " | ~~~~~~~~~~~~~~~~~~~~~~~ 96 | "ip6tables -A OUTPUT -p icmpv6 --icmpv6-type 1 -j DROP"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server_netdev.c:98:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | system(command); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server.c: In function 'wire_server_unserialize_argv': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/wire_server.c:114:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | asprintf(&argv[argc-1], "--wire_server"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y: In function 'yyparse': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:652:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 652 | asprintf(&($$), "%s=%s", lhs, rhs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:660:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 660 | asprintf(&($$), "%s=\"%s\"", lhs, rhs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:668:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 668 | asprintf(&($$), "%s=`%s`", lhs, rhs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:1131:26: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1131 | : WORD opt_ack_flag { asprintf(&($$), "%s%s", $1, $2); free($1); free($2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:1132:26: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1132 | | opt_word ack_and_ace { asprintf(&($$), "%s%s", $1, $2); free($1); free($2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:1760:23: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1760 | | word_list WORD { asprintf(&($$), "%s %s", $1, $2); free($1); free($2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y: In function 'new_md5_option': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:451:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 451 | asprintf(error, "TCP MD5 digest longer than 16 bytes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:466:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | asprintf(error, "TCP MD5 digest is not a valid hex string"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y: In function 'new_tcp_fast_open_option': /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:398:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 398 | asprintf(error, | ^~~~~~~~~~~~~~~ 399 | "TCP fast open cookie has an odd number of digits"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:406:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | asprintf(error, "TCP fast open cookie too long"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:407:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 407 | asprintf(error, "TCP fast open cookie of %d bytes " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 408 | "exceeds maximum cookie length of %d bytes", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 409 | cookie_bytes, max_bytes); | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/parser.y:433:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 433 | asprintf(error, | ^~~~~~~~~~~~~~~ 434 | "TCP fast open cookie '%s' is not a valid hex string", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 435 | cookie_string); | ~~~~~~~~~~~~~~ [ 87%] Linking C static library libpacketdrill-lib.a /usr/bin/cmake -P CMakeFiles/packetdrill-lib.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/packetdrill-lib.dir/link.txt --verbose=1 /usr/bin/ar qc libpacketdrill-lib.a "CMakeFiles/packetdrill-lib.dir/checksum.c.o" "CMakeFiles/packetdrill-lib.dir/code.c.o" "CMakeFiles/packetdrill-lib.dir/config.c.o" "CMakeFiles/packetdrill-lib.dir/epoll.c.o" "CMakeFiles/packetdrill-lib.dir/file.c.o" "CMakeFiles/packetdrill-lib.dir/fmemopen.c.o" "CMakeFiles/packetdrill-lib.dir/gre_packet.c.o" "CMakeFiles/packetdrill-lib.dir/hash.c.o" "CMakeFiles/packetdrill-lib.dir/hash_map.c.o" "CMakeFiles/packetdrill-lib.dir/icmp_packet.c.o" "CMakeFiles/packetdrill-lib.dir/ip_address.c.o" "CMakeFiles/packetdrill-lib.dir/ip_packet.c.o" "CMakeFiles/packetdrill-lib.dir/ip_prefix.c.o" "CMakeFiles/packetdrill-lib.dir/link_layer.c.o" "CMakeFiles/packetdrill-lib.dir/logging.c.o" "CMakeFiles/packetdrill-lib.dir/mpls_packet.c.o" "CMakeFiles/packetdrill-lib.dir/netdev.c.o" "CMakeFiles/packetdrill-lib.dir/net_utils.c.o" "CMakeFiles/packetdrill-lib.dir/open_memstream.c.o" "CMakeFiles/packetdrill-lib.dir/packet.c.o" "CMakeFiles/packetdrill-lib.dir/packet_checksum.c.o" "CMakeFiles/packetdrill-lib.dir/packet_parser.c.o" "CMakeFiles/packetdrill-lib.dir/packet_socket_linux.c.o" "CMakeFiles/packetdrill-lib.dir/packet_socket_pcap.c.o" "CMakeFiles/packetdrill-lib.dir/packet_to_string.c.o" "CMakeFiles/packetdrill-lib.dir/pipe.c.o" "CMakeFiles/packetdrill-lib.dir/run.c.o" "CMakeFiles/packetdrill-lib.dir/run_command.c.o" "CMakeFiles/packetdrill-lib.dir/run_packet.c.o" "CMakeFiles/packetdrill-lib.dir/run_system_call.c.o" "CMakeFiles/packetdrill-lib.dir/script.c.o" "CMakeFiles/packetdrill-lib.dir/socket.c.o" "CMakeFiles/packetdrill-lib.dir/so_testing.c.o" "CMakeFiles/packetdrill-lib.dir/symbols_freebsd.c.o" "CMakeFiles/packetdrill-lib.dir/symbols_linux.c.o" "CMakeFiles/packetdrill-lib.dir/symbols_netbsd.c.o" "CMakeFiles/packetdrill-lib.dir/symbols_openbsd.c.o" "CMakeFiles/packetdrill-lib.dir/system.c.o" "CMakeFiles/packetdrill-lib.dir/tcp_options.c.o" "CMakeFiles/packetdrill-lib.dir/tcp_options_iterator.c.o" "CMakeFiles/packetdrill-lib.dir/tcp_options_to_string.c.o" "CMakeFiles/packetdrill-lib.dir/tcp_packet.c.o" "CMakeFiles/packetdrill-lib.dir/types.c.o" "CMakeFiles/packetdrill-lib.dir/udp_packet.c.o" "CMakeFiles/packetdrill-lib.dir/wire_client.c.o" "CMakeFiles/packetdrill-lib.dir/wire_client_netdev.c.o" "CMakeFiles/packetdrill-lib.dir/wire_conn.c.o" "CMakeFiles/packetdrill-lib.dir/wire_protocol.c.o" "CMakeFiles/packetdrill-lib.dir/wire_server.c.o" "CMakeFiles/packetdrill-lib.dir/wire_server_netdev.c.o" "CMakeFiles/packetdrill-lib.dir/wrap.c.o" "CMakeFiles/packetdrill-lib.dir/parser.c.o" "CMakeFiles/packetdrill-lib.dir/lexer.c.o" /usr/bin/ranlib libpacketdrill-lib.a gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [ 87%] Built target packetdrill-lib /usr/bin/gmake -f CMakeFiles/packetdrill.dir/build.make CMakeFiles/packetdrill.dir/depend /usr/bin/gmake -f CMakeFiles/checksum_test.dir/build.make CMakeFiles/checksum_test.dir/depend /usr/bin/gmake -f CMakeFiles/packet_parser_test.dir/build.make CMakeFiles/packet_parser_test.dir/depend /usr/bin/gmake -f CMakeFiles/packet_to_string_test.dir/build.make CMakeFiles/packet_to_string_test.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/packetdrill.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/checksum_test.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/packet_parser_test.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/packet_to_string_test.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/checksum_test.dir/build.make CMakeFiles/checksum_test.dir/build /usr/bin/gmake -f CMakeFiles/packetdrill.dir/build.make CMakeFiles/packetdrill.dir/build /usr/bin/gmake -f CMakeFiles/packet_parser_test.dir/build.make CMakeFiles/packet_parser_test.dir/build /usr/bin/gmake -f CMakeFiles/packet_to_string_test.dir/build.make CMakeFiles/packet_to_string_test.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [ 93%] Building C object CMakeFiles/packet_parser_test.dir/packet_parser_test.c.o [ 93%] Building C object CMakeFiles/packet_to_string_test.dir/packet_to_string_test.c.o [ 93%] Building C object CMakeFiles/checksum_test.dir/checksum_test.c.o [ 93%] Building C object CMakeFiles/packetdrill.dir/packetdrill.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packet_to_string_test.dir/packet_to_string_test.c.o -MF CMakeFiles/packet_to_string_test.dir/packet_to_string_test.c.o.d -o CMakeFiles/packet_to_string_test.dir/packet_to_string_test.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_to_string_test.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packet_parser_test.dir/packet_parser_test.c.o -MF CMakeFiles/packet_parser_test.dir/packet_parser_test.c.o.d -o CMakeFiles/packet_parser_test.dir/packet_parser_test.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packet_parser_test.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/checksum_test.dir/checksum_test.c.o -MF CMakeFiles/checksum_test.dir/checksum_test.c.o.d -o CMakeFiles/checksum_test.dir/checksum_test.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/checksum_test.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT CMakeFiles/packetdrill.dir/packetdrill.c.o -MF CMakeFiles/packetdrill.dir/packetdrill.c.o.d -o CMakeFiles/packetdrill.dir/packetdrill.c.o -c /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/packetdrill.c [ 95%] Linking C executable checksum_test /usr/bin/cmake -E cmake_link_script CMakeFiles/checksum_test.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 CMakeFiles/checksum_test.dir/checksum_test.c.o -o checksum_test libpacketdrill-lib.a -lpthread -lpcap -ldl [ 96%] Linking C executable packetdrill /usr/bin/cmake -E cmake_link_script CMakeFiles/packetdrill.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 CMakeFiles/packetdrill.dir/packetdrill.c.o -o packetdrill libpacketdrill-lib.a -lpthread -lpcap -ldl [ 98%] Linking C executable packet_to_string_test /usr/bin/cmake -E cmake_link_script CMakeFiles/packet_to_string_test.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 CMakeFiles/packet_to_string_test.dir/packet_to_string_test.c.o -o packet_to_string_test libpacketdrill-lib.a -lpthread -lpcap -ldl [100%] Linking C executable packet_parser_test /usr/bin/cmake -E cmake_link_script CMakeFiles/packet_parser_test.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 CMakeFiles/packet_parser_test.dir/packet_parser_test.c.o -o packet_parser_test libpacketdrill-lib.a -lpthread -lpcap -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [100%] Built target checksum_test gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [100%] Built target packet_parser_test gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [100%] Built target packet_to_string_test gmake[2]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' [100%] Built target packetdrill gmake[1]: Leaving directory '/builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1/gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/CMakeFiles 0 + /usr/bin/emacs -batch --no-init-file --no-site-file --eval '(progn (setq load-path (cons "." load-path)))' -f batch-byte-compile contrib/packetdrill.el In toplevel form: contrib/packetdrill.el:1:7: Warning: assignment to free variable `packetdrill-keywords' contrib/packetdrill.el:3:7: Warning: assignment to free variable `packetdrill-constants' contrib/packetdrill.el:5:7: Warning: assignment to free variable `packetdrill-functions' contrib/packetdrill.el:8:47: Warning: reference to free variable `packetdrill-keywords' contrib/packetdrill.el:8:7: Warning: assignment to free variable `packetdrill-keywords-regexp' contrib/packetdrill.el:9:47: Warning: reference to free variable `packetdrill-constants' contrib/packetdrill.el:9:7: Warning: assignment to free variable `packetdrill-constant-regexp' contrib/packetdrill.el:10:48: Warning: reference to free variable `packetdrill-functions' contrib/packetdrill.el:10:7: Warning: assignment to free variable `packetdrill-functions-regexp' contrib/packetdrill.el:26:7: Warning: reference to free variable `packetdrill-constant-regexp' contrib/packetdrill.el:27:7: Warning: reference to free variable `packetdrill-functions-regexp' contrib/packetdrill.el:28:7: Warning: reference to free variable `packetdrill-keywords-regexp' contrib/packetdrill.el:19:7: Warning: assignment to free variable `packetdrill-font-lock-keywords' In packetdrill-mode: contrib/packetdrill.el:39:9: Warning: assignment to free variable `packetdrill-keywords-regexp' contrib/packetdrill.el:40:9: Warning: assignment to free variable `packetdrill-types-regexp' contrib/packetdrill.el:41:9: Warning: assignment to free variable `packetdrill-constants-regexp' contrib/packetdrill.el:42:9: Warning: assignment to free variable `packetdrill-functions-regexp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eGBxH0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + install -Dpm0755 -t /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/bin gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/packetdrill + install -Dpm0755 -t /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/packetdrill gtests/net/packetdrill/in_netns.sh gtests/net/packetdrill/run_all.py + cp -PR gtests/net/common/ gtests/net/tcp/ /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/packetdrill/ + install -Dpm0644 -t /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/emacs/site-lisp gtests/net/packetdrill/contrib/packetdrill.el gtests/net/packetdrill/contrib/packetdrill.elc + install -Dpm0644 -t /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/vim/vimfiles/syntax gtests/net/packetdrill/contrib/packetdrill.vim + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.0~20220927gitc556afb-1.ocs23 --unique-debug-suffix -2.0~20220927gitc556afb-1.ocs23.aarch64 --unique-debug-src-base packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 extracting debug info from /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/bin/packetdrill 2037 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/share/packetdrill/in_netns.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/packetdrill/run_all.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/packetdrill/common/defaults.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/packetdrill/tcp/common/set_sysctls.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/packetdrill/tcp/ts_recent/randomization_test.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6Pc9zq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + for t in checksum_test packet_parser_test packet_to_string_test + ./gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/checksum_test + for t in checksum_test packet_parser_test packet_to_string_test + ./gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/packet_parser_test + for t in checksum_test packet_parser_test packet_to_string_test + ./gtests/net/packetdrill/aarch64-OpenCloudOS-linux-gnu/packet_to_string_test dump = 'ipv4 2.2.2.2 > 1.1.1.1: gre flags 0x0 proto 0x0800: . 1:1(0) ack 2202903899 win 257 ' dump = 'ipv4 2.2.2.2 > 1.1.1.1: gre flags 0x0 proto 0x0800: 192.0.2.1:53055 > 192.168.0.1:8080 . 1:1(0) ack 2202903899 win 257 ' dump = 'ipv4 2.2.2.2 > 1.1.1.1: gre flags 0x0 proto 0x0800: 192.0.2.1:53055 > 192.168.0.1:8080 . 1:1(0) ack 2202903899 win 257 0x0000: 45 00 00 54 00 00 00 00 ff 2f b5 75 02 02 02 02 0x0010: 01 01 01 01 00 00 08 00 45 00 00 3c 00 00 00 00 0x0020: ff 06 39 11 c0 00 02 01 c0 a8 00 01 cf 3f 1f 90 0x0030: 00 00 00 01 83 4d a5 5b a0 10 01 01 db 2d 00 00 0x0040: 05 0a 83 4d ab 03 83 4d b0 ab 08 0a 00 00 01 2c 0x0050: 60 c2 18 20 ' dump = 'ipv6 2::2222 > 1::1111: gre flags 0x0 proto 0x86dd: S 0:0(0) win 32792 ' dump = 'ipv6 2::2222 > 1::1111: gre flags 0x0 proto 0x86dd: 2001:db8::1:54242 > fd3d:fa7b:d17d::1:8080 S 0:0(0) win 32792 ' dump = 'ipv6 2::2222 > 1::1111: gre flags 0x0 proto 0x86dd: 2001:db8::1:54242 > fd3d:fa7b:d17d::1:8080 S 0:0(0) win 32792 0x0000: 60 00 00 00 00 4c 2f ff 00 02 00 00 00 00 00 00 0x0010: 00 00 00 00 00 00 22 22 00 01 00 00 00 00 00 00 0x0020: 00 00 00 00 00 00 11 11 00 00 86 dd 60 00 00 00 0x0030: 00 20 06 ff 20 01 0d b8 00 00 00 00 00 00 00 00 0x0040: 00 00 00 01 fd 3d fa 7b d1 7d 00 00 00 00 00 00 0x0050: 00 00 00 01 d3 e2 1f 90 00 00 00 00 00 00 00 00 0x0060: 80 02 80 18 06 60 00 00 02 04 03 e8 04 02 01 01 0x0070: 01 03 03 07 ' dump = 'ipv4 192.168.0.1 > 192.0.2.2: gre flags 0x0 proto 0x8847: mpls (label 0, tc 0, ttl 0) (label 1048575, tc 7, [S], ttl 255): 192.168.0.1:8080 > 192.0.2.1:56268 F. 2072102268:2072102268(0) ack 1 win 453 ' dump = 'S 1:1(0) win 256 ' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hjLThH + umask 022 + cd /builddir/build/BUILD + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + DOCDIR=/builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/doc/packetdrill + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/doc/packetdrill + cp -pr README.md /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/doc/packetdrill + cp -pr syntax.md /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/doc/packetdrill + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5yiBUG + umask 022 + cd /builddir/build/BUILD + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + LICENSEDIR=/builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill + cp -pr LICENSE /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill + RPM_EC=0 ++ jobs -p + exit 0 Provides: packetdrill = 2.0~20220927gitc556afb-1.ocs23 packetdrill(aarch-64) = 2.0~20220927gitc556afb-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.30)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Recommends: packetdrill-data = 2.0~20220927gitc556afb-1.ocs23 Processing files: packetdrill-data-2.0~20220927gitc556afb-1.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3qVGLF + umask 022 + cd /builddir/build/BUILD + cd packetdrill-c556afbd8840149991b6e830f2d3d63cc50388b1 + LICENSEDIR=/builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill-data + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill-data + cp -pr LICENSE /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64/usr/share/licenses/packetdrill-data + RPM_EC=0 ++ jobs -p + exit 0 Provides: packetdrill-data = 2.0~20220927gitc556afb-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/python3 /usr/bin/sh Suggests: emacs vim Processing files: packetdrill-debugsource-2.0~20220927gitc556afb-1.ocs23.aarch64 Provides: packetdrill-debugsource = 2.0~20220927gitc556afb-1.ocs23 packetdrill-debugsource(aarch-64) = 2.0~20220927gitc556afb-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: packetdrill-debuginfo-2.0~20220927gitc556afb-1.ocs23.aarch64 Provides: debuginfo(build-id) = 9f1f594e185e53de85cfa017487309a375d9c5c8 packetdrill-debuginfo = 2.0~20220927gitc556afb-1.ocs23 packetdrill-debuginfo(aarch-64) = 2.0~20220927gitc556afb-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: packetdrill-debugsource(aarch-64) = 2.0~20220927gitc556afb-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/packetdrill-data-2.0~20220927gitc556afb-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/packetdrill-2.0~20220927gitc556afb-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/packetdrill-debugsource-2.0~20220927gitc556afb-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/packetdrill-debuginfo-2.0~20220927gitc556afb-1.ocs23.aarch64.rpm Child return code was: 0