Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ros2service.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1775460591.508839/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ros2service.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/ros-humble-ros2service-0.18.18-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ros2service.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1775460591.508839/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ros2service.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/ros-humble-ros2service-0.18.18-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ros2service.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1775460591.508839/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ros2service.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.5cqodv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ros2service-0.18.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ros2service-0.18.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ros2service-0.18.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Vi2gGc + umask 022 + cd /builddir/build/BUILD + cd ros2service-0.18.18 + '[' -f /opt/ros/humble/setup.sh ']' + . /opt/ros/humble/setup.sh ++ : /opt/ros/humble ++ : sh ++ _prefix_setup_IFS=' ' ++ IFS=' ' ++ _UNIQUE_PREFIX_PATH= ++ '[' -z SKIP_PARENT_PREFIX_PATH ']' ++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/humble ++ _listname=_UNIQUE_PREFIX_PATH ++ _value=/opt/ros/humble ++ eval '_values=$_UNIQUE_PREFIX_PATH' +++ _values= ++ _duplicate= ++ _ament_append_unique_value_IFS=' ' ++ IFS=: ++ '[' sh = zsh ']' ++ unset _item ++ '[' -z '' ']' ++ '[' -z '' ']' ++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/humble"' +++ _UNIQUE_PREFIX_PATH=/opt/ros/humble ++ IFS=' ' ++ unset _ament_append_unique_value_IFS ++ unset _duplicate ++ unset _values ++ unset _value ++ unset _listname ++ unset AMENT_CURRENT_PREFIX ++ _prefix_setup_AMENT_SHELL=sh ++ IFS=: ++ '[' sh = zsh ']' ++ for _path in $_UNIQUE_PREFIX_PATH ++ '[' -n '' ']' ++ '[' -f /opt/ros/humble/local_setup.sh ']' ++ '[' sh = sh ']' ++ AMENT_CURRENT_PREFIX=/opt/ros/humble ++ IFS=' ' ++ . /opt/ros/humble/local_setup.sh +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ '[' -z /opt/ros/humble ']' +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ : sh +++ _ament_python_executable=/usr/bin/python3.11 +++ '[' -n '' ']' +++ '[' '!' -f /usr/bin/python3.11 ']' +++ _ament_additional_extension= +++ '[' sh '!=' sh ']' ++++ /usr/bin/python3.11 /opt/ros/humble/_local_setup_util.py sh +++ _ament_ordered_commands='export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' +++ unset _ament_additional_extension +++ unset _ament_python_executable +++ '[' -n '' ']' +++ eval 'export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ echo -n /opt/ros/humble: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble ++++ AMENT_PREFIX_PATH=/opt/ros/humble +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib +++ unset _ament_ordered_commands +++ unset _ament_prefix_sh_source_script +++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX ++ AMENT_SHELL=sh ++ unset _path ++ IFS=' ' ++ unset _prefix_setup_IFS ++ unset _prefix_setup_AMENT_SHELL ++ unset _UNIQUE_PREFIX_PATH ++ unset AMENT_SHELL + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/ros2service copying ros2service/__init__.py -> build/lib/ros2service creating build/lib/ros2service/verb copying ros2service/verb/call.py -> build/lib/ros2service/verb copying ros2service/verb/list.py -> build/lib/ros2service/verb copying ros2service/verb/type.py -> build/lib/ros2service/verb copying ros2service/verb/find.py -> build/lib/ros2service/verb copying ros2service/verb/__init__.py -> build/lib/ros2service/verb creating build/lib/ros2service/command copying ros2service/command/service.py -> build/lib/ros2service/command copying ros2service/command/__init__.py -> build/lib/ros2service/command creating build/lib/ros2service/api copying ros2service/api/__init__.py -> build/lib/ros2service/api + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1nrRjg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 ++ dirname /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 + cd ros2service-0.18.18 + '[' -f /opt/ros/humble/setup.sh ']' + . /opt/ros/humble/setup.sh ++ : /opt/ros/humble ++ : sh ++ _prefix_setup_IFS=' ' ++ IFS=' ' ++ _UNIQUE_PREFIX_PATH= ++ '[' -z SKIP_PARENT_PREFIX_PATH ']' ++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/humble ++ _listname=_UNIQUE_PREFIX_PATH ++ _value=/opt/ros/humble ++ eval '_values=$_UNIQUE_PREFIX_PATH' +++ _values= ++ _duplicate= ++ _ament_append_unique_value_IFS=' ' ++ IFS=: ++ '[' sh = zsh ']' ++ unset _item ++ '[' -z '' ']' ++ '[' -z '' ']' ++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/humble"' +++ _UNIQUE_PREFIX_PATH=/opt/ros/humble ++ IFS=' ' ++ unset _ament_append_unique_value_IFS ++ unset _duplicate ++ unset _values ++ unset _value ++ unset _listname ++ unset AMENT_CURRENT_PREFIX ++ _prefix_setup_AMENT_SHELL=sh ++ IFS=: ++ '[' sh = zsh ']' ++ for _path in $_UNIQUE_PREFIX_PATH ++ '[' -n '' ']' ++ '[' -f /opt/ros/humble/local_setup.sh ']' ++ '[' sh = sh ']' ++ AMENT_CURRENT_PREFIX=/opt/ros/humble ++ IFS=' ' ++ . /opt/ros/humble/local_setup.sh +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ '[' -z /opt/ros/humble ']' +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ : sh +++ _ament_python_executable=/usr/bin/python3.11 +++ '[' -n '' ']' +++ '[' '!' -f /usr/bin/python3.11 ']' +++ _ament_additional_extension= +++ '[' sh '!=' sh ']' ++++ /usr/bin/python3.11 /opt/ros/humble/_local_setup_util.py sh +++ _ament_ordered_commands='export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' +++ unset _ament_additional_extension +++ unset _ament_python_executable +++ '[' -n '' ']' +++ eval 'export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ echo -n /opt/ros/humble: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble ++++ AMENT_PREFIX_PATH=/opt/ros/humble +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages +++++ head -c 1 +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib +++ unset _ament_ordered_commands +++ unset _ament_prefix_sh_source_script +++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX ++ AMENT_SHELL=sh ++ unset _path ++ IFS=' ' ++ unset _prefix_setup_IFS ++ unset _prefix_setup_AMENT_SHELL ++ unset _UNIQUE_PREFIX_PATH ++ unset AMENT_SHELL + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 --prefix /opt/ros/humble running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11 creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service copying build/lib/ros2service/__init__.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb copying build/lib/ros2service/verb/call.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb copying build/lib/ros2service/verb/list.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb copying build/lib/ros2service/verb/type.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb copying build/lib/ros2service/verb/find.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb copying build/lib/ros2service/verb/__init__.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/command copying build/lib/ros2service/command/service.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/command copying build/lib/ros2service/command/__init__.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/command creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/api copying build/lib/ros2service/api/__init__.py -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/api byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb/call.py to call.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb/list.py to list.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb/type.py to type.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb/find.py to find.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/verb/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/command/service.py to service.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/command/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service/api/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmp9u6_38kn.py' /usr/bin/python3 /tmp/tmp9u6_38kn.py removing /tmp/tmp9u6_38kn.py running install_data creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ros2service copying package.xml -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ros2service creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ament_index creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ament_index/resource_index creating /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ament_index/resource_index/packages copying resource/ros2service -> /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/share/ament_index/resource_index/packages running install_egg_info running egg_info creating ros2service.egg-info writing ros2service.egg-info/PKG-INFO writing dependency_links to ros2service.egg-info/dependency_links.txt writing entry points to ros2service.egg-info/entry_points.txt writing requirements to ros2service.egg-info/requires.txt writing top-level names to ros2service.egg-info/top_level.txt writing manifest file 'ros2service.egg-info/SOURCES.txt' reading manifest file 'ros2service.egg-info/SOURCES.txt' writing manifest file 'ros2service.egg-info/SOURCES.txt' Copying ros2service.egg-info to /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64/opt/ros/humble/lib/python3.11/site-packages/ros2service-0.18.18-py3.11.egg-info running install_scripts + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GVia6h + umask 022 + cd /builddir/build/BUILD + cd ros2service-0.18.18 ++ ls -d CHANGELOG.rst build package.xml resource ros2service ros2service.egg-info setup.py test ++ grep -m1 '\(test\|tests\)' + TEST_TARGET=test + '[' -n test ']' + /usr/bin/python3 -m pytest --version pytest 7.4.4 + '[' -f /opt/ros/humble/setup.sh ']' + . /opt/ros/humble/setup.sh ++ : /opt/ros/humble ++ : sh ++ _prefix_setup_IFS=' ' ++ IFS=' ' ++ _UNIQUE_PREFIX_PATH= ++ '[' -z SKIP_PARENT_PREFIX_PATH ']' ++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/humble ++ _listname=_UNIQUE_PREFIX_PATH ++ _value=/opt/ros/humble ++ eval '_values=$_UNIQUE_PREFIX_PATH' +++ _values= ++ _duplicate= ++ _ament_append_unique_value_IFS=' ' ++ IFS=: ++ '[' sh = zsh ']' ++ unset _item ++ '[' -z '' ']' ++ '[' -z '' ']' ++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/humble"' +++ _UNIQUE_PREFIX_PATH=/opt/ros/humble ++ IFS=' ' ++ unset _ament_append_unique_value_IFS ++ unset _duplicate ++ unset _values ++ unset _value ++ unset _listname ++ unset AMENT_CURRENT_PREFIX ++ _prefix_setup_AMENT_SHELL=sh ++ IFS=: ++ '[' sh = zsh ']' ++ for _path in $_UNIQUE_PREFIX_PATH ++ '[' -n '' ']' ++ '[' -f /opt/ros/humble/local_setup.sh ']' ++ '[' sh = sh ']' ++ AMENT_CURRENT_PREFIX=/opt/ros/humble ++ IFS=' ' ++ . /opt/ros/humble/local_setup.sh +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ '[' -z /opt/ros/humble ']' +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ : sh +++ _ament_python_executable=/usr/bin/python3.11 +++ '[' -n '' ']' +++ '[' '!' -f /usr/bin/python3.11 ']' +++ _ament_additional_extension= +++ '[' sh '!=' sh ']' ++++ /usr/bin/python3.11 /opt/ros/humble/_local_setup_util.py sh +++ _ament_ordered_commands='export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' +++ unset _ament_additional_extension +++ unset _ament_python_executable +++ '[' -n '' ']' +++ eval 'export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $PYTHONPATH | head -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH#?} ; fi if [ "$(echo -n $PYTHONPATH | tail -c 1)" = ":" ]; then export PYTHONPATH=${PYTHONPATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ PATH=/opt/ros/humble/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ echo -n /opt/ros/humble: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble ++++ AMENT_PREFIX_PATH=/opt/ros/humble +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib/python3.11/site-packages: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib +++ unset _ament_ordered_commands +++ unset _ament_prefix_sh_source_script +++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX ++ AMENT_SHELL=sh ++ unset _path ++ IFS=' ' ++ unset _prefix_setup_IFS ++ unset _prefix_setup_AMENT_SHELL ++ unset _UNIQUE_PREFIX_PATH ++ unset AMENT_SHELL + /usr/bin/python3 -m pytest test ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.4.0 rootdir: /builddir/build/BUILD/ros2service-0.18.18 plugins: ament-lint-0.12.6, launch-testing-1.0.4, launch-testing-ros-0.19.4, ament-copyright-0.12.6, ament-flake8-0.12.6, ament-pep257-0.12.6, ament-xmllint-0.12.6, timeout-2.1.0 collected 5 items test/test_cli.py F [ 20%] test/test_copyright.py . [ 40%] test/test_flake8.py F [ 60%] test/test_pep257.py . [ 80%] test/test_xmllint.py . [100%] =================================== FAILURES =================================== ____________________________ launch tests: test_cli ____________________________ ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_call[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 294, in test_call assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_call_no_args[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 276, in test_call_no_args assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_find[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 211, in test_find assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_find_count[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 237, in test_find_count assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_find_hidden[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 224, in test_find_hidden assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_list_count[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 200, in test_list_count assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_list_hidden[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 163, in test_list_hidden assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_list_services[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 145, in test_list_services assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_list_with_types[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 183, in test_list_with_types assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_repeated_call[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 317, in test_repeated_call assert service_command.wait_for_output(functools.partial( AssertionError: assert -h` for mor...d> -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions')\n"> + where -h` for mor...d> -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions')\n"> = >(functools.partial(, expected_lines=["requester: making request: test_msgs.sr...16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", '']), timeout=10) + where > = .wait_for_output + and functools.partial(, expected_lines=["requester: making request: test_msgs.sr...16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", '']) = (, expected_lines=(2 * ["requester: making request: test_msgs.srv.BasicTypes_Request(bool_value=True, byte_value=b'\\x00', char_value=0, floa...t16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", ''])) + where = functools.partial + and = .expect_output + where = launch_testing.tools + and ["requester: making request: test_msgs.srv.BasicTypes_Request(bool_value=True, byte_value=b'\\x00', char_value=0, floa...t16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", ''] = get_echo_call_output(bool_value=True, int32_value=1, float64_value=1.0, string_value='foobar') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_find_not_a_service_type[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 247, in test_find_not_a_service_type assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_type[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 255, in test_type assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts ============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAIL: test_cli.TestROS2ServiceCLI.test_type_on_not_a_service[rmw_fastrtps_cpp] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 267, in test_type_on_not_a_service assert service_command.exit_code == 1 AssertionError: assert 2 == 1 + where 2 = .exit_code ----------------------------- Captured stdout call ----------------------------- [INFO] [launch]: All log files can be found below /builddir/.ros/log/2026-04-06-15-37-48-277495-eur-prod-workerlocal-aarch64-normal-prod-00844682-20260406-0728-3755 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [daemon-stop-1]: process started with pid [3760] [INFO] [daemon-stop-1]: process has finished cleanly [pid 3760] [INFO] [daemon-start-2]: process started with pid [3765] [INFO] [daemon-start-2]: process has finished cleanly [pid 3765] [INFO] [python3-3]: process started with pid [3784] [INFO] [python3-4]: process started with pid [3786] [INFO] [ros2service-cli-5]: process started with pid [3788] [ros2service-cli-5] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-5] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-5] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-5]: process has died [pid 3788, exit code 2, cmd 'ros2 service call /my_ns/echo test_msgs/srv/BasicTypes {bool_value: false, int32_value: -1, float64_value: 0.1, string_value: bazbar}']. [INFO] [ros2service-cli-6]: process started with pid [3790] [ros2service-cli-6] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-6] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-6] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-6]: process has died [pid 3790, exit code 2, cmd 'ros2 service call /my_ns/echo test_msgs/srv/BasicTypes']. [INFO] [ros2service-cli-7]: process started with pid [3818] [ros2service-cli-7] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-7] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-7] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-7]: process has died [pid 3818, exit code 2, cmd 'ros2 service find test_msgs/srv/BasicTypes']. [INFO] [ros2service-cli-8]: process started with pid [3820] [ros2service-cli-8] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-8] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-8] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-8]: process has died [pid 3820, exit code 2, cmd 'ros2 service find -c test_msgs/srv/BasicTypes']. [INFO] [ros2service-cli-9]: process started with pid [3822] [ros2service-cli-9] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-9] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-9] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-9]: process has died [pid 3822, exit code 2, cmd 'ros2 service find --include-hidden-services test_msgs/srv/BasicTypes']. [INFO] [ros2service-cli-10]: process started with pid [3824] [ros2service-cli-10] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-10] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-10] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-10]: process has died [pid 3824, exit code 2, cmd 'ros2 service find not_a_service_type']. [INFO] [ros2service-cli-11]: process started with pid [3826] [ros2service-cli-11] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-11] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-11] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-11]: process has died [pid 3826, exit code 2, cmd 'ros2 service list -c']. [INFO] [ros2service-cli-12]: process started with pid [3828] [ros2service-cli-12] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-12] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-12] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-12]: process has died [pid 3828, exit code 2, cmd 'ros2 service list --include-hidden-services']. [INFO] [ros2service-cli-13]: process started with pid [3830] [ros2service-cli-13] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-13] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-13] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-13]: process has died [pid 3830, exit code 2, cmd 'ros2 service list']. [INFO] [ros2service-cli-14]: process started with pid [3832] [ros2service-cli-14] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-14] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-14] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-14]: process has died [pid 3832, exit code 2, cmd 'ros2 service list -t']. [INFO] [ros2service-cli-15]: process started with pid [3834] [ros2service-cli-15] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-15] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-15] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-15]: process has died [pid 3834, exit code 2, cmd 'ros2 service call -r 1 /my_ns/echo test_msgs/srv/BasicTypes {bool_value: true, int32_value: 1, float64_value: 1.0, string_value: foobar}']. [INFO] [ros2service-cli-16]: process started with pid [3836] [ros2service-cli-16] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-16] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-16] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-16]: process has died [pid 3836, exit code 2, cmd 'ros2 service type /my_ns/echo']. [INFO] [ros2service-cli-17]: process started with pid [3838] [ros2service-cli-17] usage: ros2 [-h] [--use-python-default-buffering] [ros2service-cli-17] Call `ros2 -h` for more detailed usage. ... [ros2service-cli-17] ros2: error: argument Call `ros2 -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions') [ERROR] [ros2service-cli-17]: process has died [pid 3838, exit code 2, cmd 'ros2 service type /not_a_service']. [INFO] [python3-4]: sending signal 'SIGINT' to process[python3-4] [INFO] [python3-3]: sending signal 'SIGINT' to process[python3-3] [python3-4] Traceback (most recent call last): [python3-4] File "/builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py", line 54, in [python3-4] main() [python3-4] File "/builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py", line 50, in main [python3-4] rclpy.shutdown() [python3-4] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/__init__.py", line 126, in shutdown [python3-4] _shutdown(context=context) [python3-4] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/utilities.py", line 58, in shutdown [python3-4] return context.shutdown() [python3-4] ^^^^^^^^^^^^^^^^^^ [python3-4] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/context.py", line 102, in shutdown [python3-4] self.__context.shutdown() [python3-4] rclpy._rclpy_pybind11.RCLError: failed to shutdown: rcl_shutdown already called on the given context, at /home/lkp/rpmbuild/BUILD/ros-humble-rcl-5.3.3/src/rcl/init.c:241 [python3-3] Traceback (most recent call last): [python3-3] File "/builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py", line 54, in [python3-3] main() [python3-3] File "/builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py", line 50, in main [python3-3] rclpy.shutdown() [python3-3] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/__init__.py", line 126, in shutdown [python3-3] _shutdown(context=context) [python3-3] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/utilities.py", line 58, in shutdown [python3-3] return context.shutdown() [python3-3] ^^^^^^^^^^^^^^^^^^ [python3-3] File "/opt/ros/humble/lib/python3.11/site-packages/rclpy/context.py", line 102, in shutdown [python3-3] self.__context.shutdown() [python3-3] rclpy._rclpy_pybind11.RCLError: failed to shutdown: rcl_shutdown already called on the given context, at /home/lkp/rpmbuild/BUILD/ros-humble-rcl-5.3.3/src/rcl/init.c:241 [ERROR] [python3-4]: process has died [pid 3786, exit code 1, cmd '/usr/bin/python3 /builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py --ros-args -r __node:=_hidden_echo_server -r __ns:=/my_ns -r echo:=_echo']. [ERROR] [python3-3]: process has died [pid 3784, exit code 1, cmd '/usr/bin/python3 /builddir/build/BUILD/ros2service-0.18.18/test/fixtures/echo_server.py --ros-args -r __node:=echo_server -r __ns:=/my_ns']. ----------------------------- Captured stderr call ----------------------------- test_call[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_call[rmw_fastrtps_cpp]) ... ERROR test_call_no_args[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_call_no_args[rmw_fastrtps_cpp]) ... ERROR test_find[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find[rmw_fastrtps_cpp]) ... ERROR test_find_count[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_count[rmw_fastrtps_cpp]) ... ERROR test_find_hidden[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_hidden[rmw_fastrtps_cpp]) ... ERROR test_find_not_a_service_type[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_not_a_service_type[rmw_fastrtps_cpp]) ... FAIL test_list_count[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_count[rmw_fastrtps_cpp]) ... ERROR test_list_hidden[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_hidden[rmw_fastrtps_cpp]) ... ERROR test_list_services[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_services[rmw_fastrtps_cpp]) ... ERROR test_list_with_types[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_with_types[rmw_fastrtps_cpp]) ... ERROR test_repeated_call[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_repeated_call[rmw_fastrtps_cpp]) ... ERROR test_type[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_type[rmw_fastrtps_cpp]) ... FAIL test_type_on_not_a_service[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_type_on_not_a_service[rmw_fastrtps_cpp]) ... FAIL ====================================================================== ERROR: test_call[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_call[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 294, in test_call assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_call_no_args[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_call_no_args[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 276, in test_call_no_args assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_find[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 211, in test_find assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_find_count[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_count[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 237, in test_find_count assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_find_hidden[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_hidden[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 224, in test_find_hidden assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_list_count[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_count[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 200, in test_list_count assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_list_hidden[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_hidden[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 163, in test_list_hidden assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_list_services[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_services[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 145, in test_list_services assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_list_with_types[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_list_with_types[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 183, in test_list_with_types assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== ERROR: test_repeated_call[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_repeated_call[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 47, in _wrapper ret = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 317, in test_repeated_call assert service_command.wait_for_output(functools.partial( AssertionError: assert -h` for mor...d> -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions')\n"> + where -h` for mor...d> -h` for more detailed usage.: invalid choice: 'service' (choose from 'daemon', 'extension_points', 'extensions')\n"> = >(functools.partial(, expected_lines=["requester: making request: test_msgs.sr...16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", '']), timeout=10) + where > = .wait_for_output + and functools.partial(, expected_lines=["requester: making request: test_msgs.sr...16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", '']) = (, expected_lines=(2 * ["requester: making request: test_msgs.srv.BasicTypes_Request(bool_value=True, byte_value=b'\\x00', char_value=0, floa...t16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", ''])) + where = functools.partial + and = .expect_output + where = launch_testing.tools + and ["requester: making request: test_msgs.srv.BasicTypes_Request(bool_value=True, byte_value=b'\\x00', char_value=0, floa...t16_value=0, uint16_value=0, int32_value=1, uint32_value=0, int64_value=0, uint64_value=0, string_value='foobar')", ''] = get_echo_call_output(bool_value=True, int32_value=1, float64_value=1.0, string_value='foobar') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/ros/humble/lib/python3.11/site-packages/launch_testing/markers.py", line 52, in _wrapper self._outcome.errors.clear() ^^^^^^^^^^^^^^^^^^^^ AttributeError: '_Outcome' object has no attribute 'errors' ====================================================================== FAIL: test_find_not_a_service_type[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_find_not_a_service_type[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 247, in test_find_not_a_service_type assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts ====================================================================== FAIL: test_type[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_type[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 255, in test_type assert service_command.exit_code == launch_testing.asserts.EXIT_OK AssertionError: assert 2 == 0 + where 2 = .exit_code + and 0 = .EXIT_OK + where = launch_testing.asserts ====================================================================== FAIL: test_type_on_not_a_service[rmw_fastrtps_cpp] (test_cli.TestROS2ServiceCLI.test_type_on_not_a_service[rmw_fastrtps_cpp]) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ros2service-0.18.18/test/test_cli.py", line 267, in test_type_on_not_a_service assert service_command.exit_code == 1 AssertionError: assert 2 == 1 + where 2 = .exit_code ---------------------------------------------------------------------- Ran 13 tests in 13.411s FAILED (failures=3, errors=10) ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK _________________________________ test_flake8 __________________________________ @pytest.mark.flake8 @pytest.mark.linter def test_flake8(): > rc, errors = main_with_errors(argv=[]) test/test_flake8.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /opt/ros/humble/lib/python3.11/site-packages/ament_flake8/main.py:87: in main_with_errors report = generate_flake8_report( /opt/ros/humble/lib/python3.11/site-packages/ament_flake8/main.py:186: in generate_flake8_report style = get_flake8_style_guide(flake8_argv) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ argv = ['--config=/opt/ros/humble/lib/python3.11/site-packages/ament_flake8/configuration/ament_flake8.ini', '--exclude=__pycache__'] def get_flake8_style_guide(argv): # This is a modified version of flake8.legacy.get_style_guide() in which we pass argv through # to parse_configuration_and_cli(), as opposed to a dict of flake8 options. # Since we are using config files and a mix plugins, it is not trivial to determine the # appropriate options to pass into the standard flake8.legacy.get_style_guide(); # passing argv gets it to determine the options for us. application = flake8_app.Application() if hasattr(application, 'parse_preliminary_options'): prelim_opts, remaining_args = application.parse_preliminary_options( argv) flake8.configure_logging(prelim_opts.verbose, prelim_opts.output_file) from flake8.options import config config_finder = config.ConfigFileFinder( application.program, prelim_opts.append_config, config_file=prelim_opts.config, ignore_config_files=prelim_opts.isolated) application.find_plugins(config_finder) application.register_plugin_options() application.parse_configuration_and_cli(config_finder, remaining_args) else: > application.parse_preliminary_options_and_args([]) E AttributeError: 'Application' object has no attribute 'parse_preliminary_options_and_args' /opt/ros/humble/lib/python3.11/site-packages/ament_flake8/main.py:158: AttributeError =========================== short test summary info ============================ FAILED test/test_cli.py::test_cli - test_cli.TestROS2ServiceCLI.test_call[rmw... FAILED test/test_flake8.py::test_flake8 - AttributeError: 'Application' objec... ========================= 2 failed, 3 passed in 18.87s ========================= + echo 'RPM TESTS FAILED' RPM TESTS FAILED + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ros-humble-ros2service-0.18.18-1.aarch64 Provides: ros-humble-ros2service = 0.18.18-1 ros-humble-ros2service(aarch-64) = 0.18.18-1 ros-humble-ros2service-devel = 0.18.18-1 ros-humble-ros2service-doc = 0.18.18-1 ros-humble-ros2service-runtime = 0.18.18-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 Wrote: /builddir/build/RPMS/ros-humble-ros2service-0.18.18-1.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G6QVCQ + umask 022 + cd /builddir/build/BUILD + cd ros2service-0.18.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ros-humble-ros2service-0.18.18-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.DNxxXk + umask 022 + cd /builddir/build/BUILD + rm -rf ros2service-0.18.18 ros2service-0.18.18.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0