robotology / gz-sim-yarp-plugins

YARP plugins for Modern Gazebo (gz-sim).
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Use absolute paths to reference models in unit tests #168

Closed xela-95 closed 1 month ago

xela-95 commented 2 months ago

Fixes #164

xela-95 commented 2 months ago

Apparently the modification of unit test paths to models used by the fixture (that was needed BTW) is not sufficient to make the CI pass.

xela-95 commented 2 months ago

The error log that can be the symptom of something not working properly is Error in gzyarp::DeviceRegistry::getDevicesKeys: gz instance not found, printed in https://github.com/robotology/gz-sim-yarp-plugins/blob/bdb1cd91bb3f091407ccab2bedfd2b49fa1f996c/libraries/device-registry/DeviceRegistry.cc#L50-L56

This could be an indication that the pointer of the ECM used as the indicator of the Gazebo instance in use could pose issues. What do you think @traversaro?

xela-95 commented 2 months ago

From the ForceTorqueTest the error:

[INFO] |yarp.os.Port|/ForceTorqueTest/rpc:i| Port /ForceTorqueTest/rpc:i active at tcp://127.0.0.1:10002/
[INFO] |yarp.os.Port|/ForceTorqueTest/measures:i| Port /ForceTorqueTest/measures:i active at tcp://127.0.0.1:10003/
Error:  |yarp.device.multipleanalogsensorsclient| Failure connecting port /ForceTorqueTest/rpc:i to /forcetorque/rpc:o.
Error:  |yarp.device.multipleanalogsensorsclient| Check that the specified MultipleAnalogSensorsServer is up.
[DEBUG] |yarp.device.multipleanalogsensorsclient| Close complete
Error:  |yarp.dev.PolyDriver|multipleanalogsensorsclient| Driver <multipleanalogsensorsclient> was found but could not open

and from the ClockTest:

Error:  |yarp.os.Port| YARP not initialized; create a yarp::os::Network object before using ports

are making me think of something with YARP, but it's strange that these error started occurring the past week, also because the Yarp version has not changed AFAIK.

xela-95 commented 1 month ago

When trying to create on my local machine the environment used on the Conda CI for Ubuntu 22.04 exported with conda list --explicit I get the following error:

CondaValueError: could not parse 'https://conda.anaconda.org/conda-forge/linux-64/x264-1!164.3095-h166bdaf_2.tar.bz2' in: /home/acroci/Desktop/debug_conda_ci/conda_ci_env.txt

Here's the output of the conda list --explicit:

Details ``` https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.2.2-hbcca054_0.conda https://conda.anaconda.org/conda-forge/noarch/font-ttf-dejavu-sans-mono-2.37-hab24e00_0.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/font-ttf-inconsolata-3.000-h77eed37_0.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/font-ttf-source-code-pro-2.038-h77eed37_0.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/font-ttf-ubuntu-0.83-h77eed37_2.conda https://conda.anaconda.org/conda-forge/noarch/kernel-headers_linux-64-2.6.32-he073ed8_17.conda https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-h55db66e_0.conda https://conda.anaconda.org/conda-forge/linux-64/libboost-headers-1.84.0-ha770c72_2.conda https://conda.anaconda.org/conda-forge/noarch/libgcc-devel_linux-64-12.3.0-h0223996_107.conda https://conda.anaconda.org/conda-forge/noarch/libstdcxx-devel_linux-64-12.3.0-h0223996_107.conda https://conda.anaconda.org/conda-forge/linux-64/libstdcxx-ng-13.2.0-hc0a3c3a_7.conda https://conda.anaconda.org/conda-forge/noarch/poppler-data-0.4.12-hd8ed1ab_0.conda https://conda.anaconda.org/conda-forge/noarch/pybind11-abi-4-hd8ed1ab_3.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/python_abi-3.12-4_cp312.conda https://conda.anaconda.org/conda-forge/noarch/tzdata-2024a-h0c530f3_0.conda https://conda.anaconda.org/conda-forge/noarch/fonts-conda-forge-1-0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_7.conda https://conda.anaconda.org/conda-forge/noarch/sysroot_linux-64-2.12-he073ed8_17.conda https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-2_gnu.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/binutils_impl_linux-64-2.40-ha885e6a_0.conda https://conda.anaconda.org/conda-forge/noarch/expat-cos6-x86_64-2.0.1-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/fonts-conda-ecosystem-1-0.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libdrm-cos6-x86_64-2.4.65-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libsepol-cos6-x86_64-2.0.41-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libx11-common-cos6-x86_64-1.6.4-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libxau-cos6-x86_64-1.0.6-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libxcb-cos6-x86_64-1.12-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libxdamage-cos6-x86_64-1.1.3-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/mesa-dri1-drivers-cos6-x86_64-7.11-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/binutils-2.40-h4852527_0.conda https://conda.anaconda.org/conda-forge/linux-64/binutils_linux-64-2.40-hdade7a5_3.conda https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_7.conda https://conda.anaconda.org/conda-forge/noarch/libselinux-cos6-x86_64-2.0.94-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libx11-cos6-x86_64-1.6.4-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/mesa-dri-drivers-cos6-x86_64-11.0.7-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/ace-7.1.3-h59595ed_2.conda https://conda.anaconda.org/conda-forge/linux-64/alsa-lib-1.2.11-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/aom-3.9.0-hac33072_0.conda https://conda.anaconda.org/conda-forge/linux-64/attr-2.5.1-h166bdaf_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/aws-c-common-0.9.17-h4ab18f5_0.conda https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-hd590300_5.conda https://conda.anaconda.org/conda-forge/linux-64/c-ares-1.28.1-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/cli11-2.4.1-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/console_bridge-1.0.2-h924138e_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/dav1d-1.2.1-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/eigen-3.4.0-h00ab1b0_0.conda https://conda.anaconda.org/conda-forge/linux-64/fmt-10.2.1-h00ab1b0_0.conda https://conda.anaconda.org/conda-forge/linux-64/fribidi-1.0.10-h36c2ea0_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/geos-3.12.1-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/gettext-tools-0.22.5-h59595ed_2.conda https://conda.anaconda.org/conda-forge/linux-64/giflib-5.2.2-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/gmp-6.3.0-h59595ed_1.conda https://conda.anaconda.org/conda-forge/linux-64/graphite2-1.3.13-h59595ed_1003.conda https://conda.anaconda.org/conda-forge/linux-64/gtest-1.14.0-h00ab1b0_1.conda https://conda.anaconda.org/conda-forge/linux-64/icu-73.2-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/json-c-0.17-h7ab15ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/jsoncpp-1.9.5-h4bd325d_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/jxrlib-1.1-hd590300_3.conda https://conda.anaconda.org/conda-forge/linux-64/keyutils-1.6.1-h166bdaf_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/lame-3.100-h166bdaf_1003.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/lerc-4.0.0-h27087fc_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libabseil-20240116.2-cxx17_h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libaec-1.1.3-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libasprintf-0.22.5-h661eb56_2.conda https://conda.anaconda.org/conda-forge/linux-64/libccd-double-2.1-h59595ed_3.conda https://conda.anaconda.org/conda-forge/linux-64/libcrc32c-1.1.2-h9c3ff4c_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libdeflate-1.20-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libedit-3.1.20191231-he28a2e2_2.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libev-4.33-hd590300_2.conda https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libgettextpo-0.22.5-h59595ed_2.conda https://conda.anaconda.org/conda-forge/linux-64/libgfortran5-13.2.0-hca663fb_7.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-cmake3-3.5.3-hac33072_0.conda https://conda.anaconda.org/conda-forge/linux-64/libi2c-4.3-hcb278e6_2.conda https://conda.anaconda.org/conda-forge/linux-64/libiconv-1.17-hd590300_2.conda https://conda.anaconda.org/conda-forge/linux-64/libjpeg-turbo-3.0.0-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libogg-1.3.4-h7f98852_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libopus-1.3.1-h7f98852_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libpciaccess-0.18-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libsanitizer-12.3.0-hb8811af_7.conda https://conda.anaconda.org/conda-forge/linux-64/libsodium-1.0.18-h36c2ea0_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libtasn1-4.19.0-h166bdaf_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libunistring-0.9.10-h7f98852_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda https://conda.anaconda.org/conda-forge/linux-64/libuv-1.48.0-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libvpx-1.14.0-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libwebp-base-1.4.0-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.36-hd590300_1.conda https://conda.anaconda.org/conda-forge/noarch/libxext-cos6-x86_64-1.3.3-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libxfixes-cos6-x86_64-5.0.3-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/libxxf86vm-cos6-x86_64-1.1.3-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.2.13-hd590300_5.conda https://conda.anaconda.org/conda-forge/linux-64/lz4-c-1.9.4-hcb278e6_0.conda https://conda.anaconda.org/conda-forge/linux-64/lzo-2.10-hd590300_1001.conda https://conda.anaconda.org/conda-forge/linux-64/make-4.3-hd18ef5c_1.tar.bz2 https://conda.anaconda.org/conda-forge/noarch/mesa-libgl-cos6-x86_64-11.0.7-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/mpg123-1.32.6-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.5-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/nettle-3.9.1-h7ab15ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/ninja-1.12.1-h297d8ca_0.conda https://conda.anaconda.org/conda-forge/linux-64/nspr-4.35-h27087fc_0.conda https://conda.anaconda.org/conda-forge/linux-64/ocl-icd-2.3.2-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/octomap-1.9.8-h924138e_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/openh264-2.4.1-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/openssl-3.3.0-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/pixman-0.43.2-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/pkg-config-0.29.2-h36c2ea0_1008.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/portaudio-19.6.0-h7c63dc7_9.conda https://conda.anaconda.org/conda-forge/linux-64/pthread-stubs-0.4-h36c2ea0_1001.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/pugixml-1.14-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/rhash-1.4.4-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/snappy-1.2.0-hdb0a2a9_1.conda https://conda.anaconda.org/conda-forge/linux-64/soxr-0.1.3-h0b41bf4_3.conda https://conda.anaconda.org/conda-forge/linux-64/svt-av1-2.0.0-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/tinyxml-2.6.2-h4bd325d_2.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/tinyxml2-10.0.0-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/tzcode-2024a-h3f72095_0.conda https://conda.anaconda.org/conda-forge/linux-64/urdfdom_headers-1.1.1-h00ab1b0_0.conda https://conda.anaconda.org/conda-forge/linux-64/uriparser-0.9.8-hac33072_0.conda https://conda.anaconda.org/conda-forge/linux-64/x264-1!164.3095-h166bdaf_2.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/x265-3.5-h924138e_3.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-inputproto-2.3.2-h7f98852_1002.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-kbproto-1.0.7-h7f98852_1002.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-libice-1.1.1-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxau-1.0.11-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxdmcp-1.1.3-h7f98852_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-randrproto-1.5.0-h7f98852_1001.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-renderproto-0.11.1-h7f98852_1002.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-xextproto-7.3.0-h0b41bf4_1003.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-xf86vidmodeproto-2.3.1-h7f98852_1002.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-xproto-7.0.31-h7f98852_1007.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xz-5.2.6-h166bdaf_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/yaml-0.2.5-h7f98852_2.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/ycm-cmake-modules-0.16.2-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-cal-0.6.12-h2ba76a8_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-compression-0.2.18-h36a0aea_4.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-sdkutils-0.1.16-h36a0aea_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-checksums-0.1.18-h36a0aea_4.conda https://conda.anaconda.org/conda-forge/linux-64/expat-2.6.2-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/flann-1.9.2-h2b5ea80_0.conda https://conda.anaconda.org/conda-forge/linux-64/gcc_impl_linux-64-12.3.0-h58ffeeb_7.conda https://conda.anaconda.org/conda-forge/linux-64/hdf4-4.2.15-h2a13503_7.conda https://conda.anaconda.org/conda-forge/linux-64/imath-3.1.11-hfc55251_0.conda https://conda.anaconda.org/conda-forge/linux-64/krb5-1.21.2-h659d440_0.conda https://conda.anaconda.org/conda-forge/linux-64/libasprintf-devel-0.22.5-h661eb56_2.conda https://conda.anaconda.org/conda-forge/linux-64/libcap-2.69-h0f662aa_0.conda https://conda.anaconda.org/conda-forge/linux-64/libdrm-2.4.120-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libevent-2.1.12-hf998b51_1.conda https://conda.anaconda.org/conda-forge/linux-64/libgettextpo-devel-0.22.5-h59595ed_2.conda https://conda.anaconda.org/conda-forge/linux-64/libgfortran-ng-13.2.0-h69a702a_7.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-utils2-2.1.0-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libkml-1.3.0-h01aab08_1018.conda https://conda.anaconda.org/conda-forge/linux-64/libnghttp2-1.58.0-h47da74e_1.conda https://conda.anaconda.org/conda-forge/linux-64/libode-0.16.2-h30efb56_14.conda https://conda.anaconda.org/conda-forge/linux-64/libpng-1.6.43-h2797004_0.conda https://conda.anaconda.org/conda-forge/linux-64/libprotobuf-4.25.3-h08a7969_0.conda https://conda.anaconda.org/conda-forge/linux-64/libre2-11-2023.09.01-h5a48ba9_2.conda https://conda.anaconda.org/conda-forge/linux-64/librttopo-1.1.0-h8917695_15.conda https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.45.3-h2797004_0.conda https://conda.anaconda.org/conda-forge/linux-64/libssh2-1.11.0-h0841786_0.conda https://conda.anaconda.org/conda-forge/linux-64/libvorbis-1.3.7-h9c3ff4c_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/libxcb-1.15-h0b41bf4_0.conda https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.12.6-h232c23b_2.conda https://conda.anaconda.org/conda-forge/linux-64/libzip-1.10.1-h2629f0a_3.conda https://conda.anaconda.org/conda-forge/noarch/mesa-libgl-devel-cos6-x86_64-11.0.7-h9b0a68f_1105.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/mysql-common-8.3.0-hf1915f5_4.conda https://conda.anaconda.org/conda-forge/linux-64/p11-kit-0.24.1-hc5aa10d_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/pcre2-10.43-hcad00b1_0.conda https://conda.anaconda.org/conda-forge/linux-64/readline-8.2-h8228510_1.conda https://conda.anaconda.org/conda-forge/linux-64/robot-testing-framework-2.0.1-hcb278e6_1.conda https://conda.anaconda.org/conda-forge/linux-64/s2n-1.4.13-he19d79f_0.conda https://conda.anaconda.org/conda-forge/linux-64/spdlog-1.13.0-hd2e6256_0.conda https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda https://conda.anaconda.org/conda-forge/linux-64/urdfdom-4.0.0-hee28ff1_1.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-fixesproto-5.0-h7f98852_1002.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-libsm-1.2.4-h7391055_0.conda https://conda.anaconda.org/conda-forge/linux-64/zlib-1.2.13-hd590300_5.conda https://conda.anaconda.org/conda-forge/linux-64/zstd-1.5.6-ha6fb4c9_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-io-0.14.8-h96d4d28_0.conda https://conda.anaconda.org/conda-forge/linux-64/blosc-1.21.5-hc2324a3_1.conda https://conda.anaconda.org/conda-forge/linux-64/fcl-0.7.0-hadc09e8_4.conda https://conda.anaconda.org/conda-forge/linux-64/freetype-2.12.1-h267a509_2.conda https://conda.anaconda.org/conda-forge/linux-64/gcc-12.3.0-h915e2ae_7.conda https://conda.anaconda.org/conda-forge/linux-64/gcc_linux-64-12.3.0-h6477408_3.conda https://conda.anaconda.org/conda-forge/linux-64/gdbm-1.18-h0a1914f_2.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/gettext-0.22.5-h59595ed_2.conda https://conda.anaconda.org/conda-forge/linux-64/gfortran_impl_linux-64-12.3.0-h1645026_7.conda https://conda.anaconda.org/conda-forge/linux-64/gxx_impl_linux-64-12.3.0-h2a574ab_7.conda https://conda.anaconda.org/conda-forge/linux-64/libarchive-3.7.2-h2aa1ff5_1.conda https://conda.anaconda.org/conda-forge/linux-64/libboost-1.84.0-h8013b2b_2.conda https://conda.anaconda.org/conda-forge/linux-64/libcups-2.3.3-h4637d8d_4.conda https://conda.anaconda.org/conda-forge/linux-64/libcurl-8.7.1-hca28451_0.conda https://conda.anaconda.org/conda-forge/linux-64/libglib-2.80.2-hf974151_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-math7-7.3.0-h59595ed_1.conda https://conda.anaconda.org/conda-forge/linux-64/libhwloc-2.10.0-default_h2fb2949_1000.conda https://conda.anaconda.org/conda-forge/linux-64/libllvm15-15.0.7-hb3ce162_4.conda https://conda.anaconda.org/conda-forge/linux-64/libllvm18-18.1.5-hb77312f_0.conda https://conda.anaconda.org/conda-forge/linux-64/libopenblas-0.3.27-pthreads_h413a1c8_0.conda https://conda.anaconda.org/conda-forge/linux-64/libpq-16.3-ha72fbe1_0.conda https://conda.anaconda.org/conda-forge/linux-64/libtiff-4.6.0-h1dd3fc0_3.conda https://conda.anaconda.org/conda-forge/linux-64/minizip-4.0.5-h0ab5242_0.conda https://conda.anaconda.org/conda-forge/linux-64/mysql-libs-8.3.0-hca2cd23_4.conda https://conda.anaconda.org/conda-forge/linux-64/nss-3.100-hca3bf56_0.conda https://conda.anaconda.org/conda-forge/linux-64/openexr-3.2.2-haf962dd_1.conda https://conda.anaconda.org/conda-forge/linux-64/python-3.12.3-hab00c5b_0_cpython.conda https://conda.anaconda.org/conda-forge/linux-64/re2-2023.09.01-h7f4b329_2.conda https://conda.anaconda.org/conda-forge/linux-64/sqlite-3.45.3-h2c6b66d_0.conda https://conda.anaconda.org/conda-forge/linux-64/swig-4.2.1-hc9a1274_0.conda https://conda.anaconda.org/conda-forge/linux-64/xcb-util-0.4.0-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/xcb-util-keysyms-0.4.0-h8ee46fc_1.conda https://conda.anaconda.org/conda-forge/linux-64/xcb-util-renderutil-0.3.9-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/xcb-util-wm-0.4.1-h8ee46fc_1.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libx11-1.8.9-h8ee46fc_0.conda https://conda.anaconda.org/conda-forge/linux-64/zeromq-4.3.5-h75354e8_3.conda https://conda.anaconda.org/conda-forge/linux-64/zziplib-0.13.69-h27826a3_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/assimp-5.3.1-h8343317_3.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-event-stream-0.4.2-h161de36_10.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-http-0.8.1-h63f54a0_13.conda https://conda.anaconda.org/conda-forge/linux-64/azure-core-cpp-1.11.1-h91d86a7_1.conda https://conda.anaconda.org/conda-forge/linux-64/c-compiler-1.7.0-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/cfitsio-4.4.0-hbdc6101_1.conda https://conda.anaconda.org/conda-forge/linux-64/cmake-3.29.3-h91dbaaa_0.conda https://conda.anaconda.org/conda-forge/linux-64/cppzmq-4.10.0-h2e2a08d_1.conda https://conda.anaconda.org/conda-forge/linux-64/dbus-1.13.6-h5008d03_3.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/fontconfig-2.14.2-h14ed4e7_0.conda https://conda.anaconda.org/conda-forge/linux-64/freexl-2.0.0-h743c826_0.conda https://conda.anaconda.org/conda-forge/linux-64/gfortran-12.3.0-h915e2ae_7.conda https://conda.anaconda.org/conda-forge/linux-64/gfortran_linux-64-12.3.0-h617cb40_3.conda https://conda.anaconda.org/conda-forge/linux-64/glib-tools-2.80.2-hb6ce0ca_0.conda https://conda.anaconda.org/conda-forge/linux-64/gts-0.7.6-h977cf35_4.conda https://conda.anaconda.org/conda-forge/linux-64/gxx-12.3.0-h915e2ae_7.conda https://conda.anaconda.org/conda-forge/linux-64/gxx_linux-64-12.3.0-h4a1b8e8_3.conda https://conda.anaconda.org/conda-forge/linux-64/hdf5-1.14.3-nompi_h4f84152_101.conda https://conda.anaconda.org/conda-forge/linux-64/lcms2-2.16-hb7c19ff_0.conda https://conda.anaconda.org/conda-forge/linux-64/libblas-3.9.0-22_linux64_openblas.conda https://conda.anaconda.org/conda-forge/linux-64/libclang-cpp15-15.0.7-default_h127d8a8_5.conda https://conda.anaconda.org/conda-forge/linux-64/libclang13-18.1.5-default_h5d6823c_0.conda https://conda.anaconda.org/conda-forge/linux-64/libflac-1.4.3-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgpg-error-1.49-h4f305b6_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgrpc-1.62.2-h15f2491_0.conda https://conda.anaconda.org/conda-forge/linux-64/libidn2-2.3.7-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/markupsafe-2.1.5-py312h98912ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/openjpeg-2.5.2-h488ebb8_0.conda https://conda.anaconda.org/conda-forge/linux-64/postgresql-16.3-h8e811e2_0.conda https://conda.anaconda.org/conda-forge/linux-64/proj-9.4.0-h1d62c97_1.conda https://conda.anaconda.org/conda-forge/linux-64/ruby-3.2.2-h983345b_1.conda https://conda.anaconda.org/conda-forge/noarch/setuptools-69.5.1-pyhd8ed1ab_0.conda https://conda.anaconda.org/conda-forge/linux-64/tbb-2021.12.0-h00ab1b0_0.conda https://conda.anaconda.org/conda-forge/noarch/wheel-0.43.0-pyhd8ed1ab_1.conda https://conda.anaconda.org/conda-forge/linux-64/xcb-util-image-0.4.0-h8ee46fc_1.conda https://conda.anaconda.org/conda-forge/linux-64/xerces-c-3.2.5-hac6953d_0.conda https://conda.anaconda.org/conda-forge/linux-64/xkeyboard-config-2.41-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxext-1.3.4-h0b41bf4_2.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxfixes-5.0.3-h7f98852_1004.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-libxrender-0.9.11-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxt-1.3.0-hd590300_1.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-auth-0.7.20-h5f1c8d9_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-c-mqtt-0.10.4-hcc7299c_2.conda https://conda.anaconda.org/conda-forge/linux-64/azure-identity-cpp-1.6.0-hf1915f5_1.conda https://conda.anaconda.org/conda-forge/linux-64/azure-storage-common-cpp-12.5.0-h94269e2_4.conda https://conda.anaconda.org/conda-forge/linux-64/cairo-1.18.0-h3faef2a_0.conda https://conda.anaconda.org/conda-forge/linux-64/cxx-compiler-1.7.0-h00ab1b0_1.conda https://conda.anaconda.org/conda-forge/linux-64/fortran-compiler-1.7.0-heb67821_1.conda https://conda.anaconda.org/conda-forge/linux-64/geotiff-1.7.1-h6cf1f90_16.conda https://conda.anaconda.org/conda-forge/linux-64/glib-2.80.2-hf974151_0.conda https://conda.anaconda.org/conda-forge/linux-64/gnutls-3.7.9-hb077bed_0.conda https://conda.anaconda.org/conda-forge/noarch/jinja2-3.1.4-pyhd8ed1ab_0.conda https://conda.anaconda.org/conda-forge/linux-64/kealib-1.5.3-h2f55d51_0.conda https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.9.0-22_linux64_openblas.conda https://conda.anaconda.org/conda-forge/linux-64/libgcrypt-1.10.3-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libglu-9.0.0-hac7e632_1003.conda https://conda.anaconda.org/conda-forge/linux-64/libgoogle-cloud-2.23.0-h9be4e54_1.conda https://conda.anaconda.org/conda-forge/linux-64/liblapack-3.9.0-22_linux64_openblas.conda https://conda.anaconda.org/conda-forge/linux-64/libnetcdf-4.9.2-nompi_h9612171_113.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-2024.0.0-h2da1b83_5.conda https://conda.anaconda.org/conda-forge/linux-64/libraw-0.21.1-h2a13503_2.conda https://conda.anaconda.org/conda-forge/linux-64/libsndfile-1.2.2-hc60ed4a_1.conda https://conda.anaconda.org/conda-forge/linux-64/libspatialite-5.1.0-h6f065fc_5.conda https://conda.anaconda.org/conda-forge/linux-64/libva-2.21.0-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/libxkbcommon-1.7.0-h662e7e4_0.conda https://conda.anaconda.org/conda-forge/noarch/pip-24.0-pyhd8ed1ab_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxi-1.7.10-h7f98852_0.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/xorg-libxmu-1.1.3-h4ab18f5_1.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxpm-3.5.17-hd590300_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxrandr-1.5.2-h7f98852_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/aws-c-s3-0.5.8-h10bd90f_3.conda https://conda.anaconda.org/conda-forge/linux-64/azure-storage-blobs-cpp-12.10.0-h00ab1b0_1.conda https://conda.anaconda.org/conda-forge/noarch/cmake-package-check-0.0.4-pyh4af843d_0.conda https://conda.anaconda.org/conda-forge/linux-64/compilers-1.7.0-ha770c72_1.conda https://conda.anaconda.org/conda-forge/linux-64/freeglut-3.2.2-hac7e632_2.conda https://conda.anaconda.org/conda-forge/linux-64/freeimage-3.18.0-h4b96d29_20.conda https://conda.anaconda.org/conda-forge/linux-64/gstreamer-1.24.3-haf2f30d_0.conda https://conda.anaconda.org/conda-forge/linux-64/harfbuzz-8.4.0-h3d44ed6_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgoogle-cloud-storage-2.23.0-hc7a4891_1.conda https://conda.anaconda.org/conda-forge/linux-64/liblapacke-3.9.0-22_linux64_openblas.conda https://conda.anaconda.org/conda-forge/linux-64/libmicrohttpd-1.0.1-h97afed2_0.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-auto-batch-plugin-2024.0.0-hb045406_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-auto-plugin-2024.0.0-hb045406_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-hetero-plugin-2024.0.0-h5c03a75_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-intel-cpu-plugin-2024.0.0-h2da1b83_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-intel-gpu-plugin-2024.0.0-h2da1b83_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-ir-frontend-2024.0.0-h5c03a75_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-onnx-frontend-2024.0.0-h07e8aee_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-paddle-frontend-2024.0.0-h07e8aee_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-pytorch-frontend-2024.0.0-he02047a_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-tensorflow-frontend-2024.0.0-h39126c6_5.conda https://conda.anaconda.org/conda-forge/linux-64/libopenvino-tensorflow-lite-frontend-2024.0.0-he02047a_5.conda https://conda.anaconda.org/conda-forge/linux-64/libsystemd0-255-h3516f8a_1.conda https://conda.anaconda.org/conda-forge/linux-64/numpy-1.26.4-py312heda63a1_0.conda https://conda.anaconda.org/conda-forge/linux-64/poppler-24.04.0-hb6cd0d7_0.conda https://conda.anaconda.org/conda-forge/linux-64/xorg-libxaw-1.0.14-h7f98852_1.tar.bz2 https://conda.anaconda.org/conda-forge/linux-64/aws-crt-cpp-0.26.8-h02fd9b4_10.conda https://conda.anaconda.org/conda-forge/linux-64/bullet-cpp-3.25-hfb8ada1_2.conda https://conda.anaconda.org/conda-forge/linux-64/elfutils-0.191-h924a536_0.conda https://conda.anaconda.org/conda-forge/linux-64/gst-plugins-base-1.24.3-h9ad1361_0.conda https://conda.anaconda.org/conda-forge/linux-64/jasper-4.2.4-h536e39c_0.conda https://conda.anaconda.org/conda-forge/linux-64/libass-0.17.1-h8fe9dca_1.conda https://conda.anaconda.org/conda-forge/linux-64/ogre-next-2.3.3-h1b25c05_0.conda https://conda.anaconda.org/conda-forge/linux-64/pulseaudio-client-17.0-hb77b528_0.conda https://conda.anaconda.org/conda-forge/linux-64/aws-sdk-cpp-1.11.267-h51dfee4_8.conda https://conda.anaconda.org/conda-forge/linux-64/dartsim-6.13.2-h89be5ba_2.conda https://conda.anaconda.org/conda-forge/linux-64/ffmpeg-6.1.1-gpl_h878a262_110.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-tools2-2.0.0-h1caa08d_4.conda https://conda.anaconda.org/conda-forge/linux-64/qt-main-5.15.8-hc9dc06e_21.conda https://conda.anaconda.org/conda-forge/linux-64/sdl2-2.30.2-hdbcbe63_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-msgs10-10.1.2-h3355b27_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-plugin2-2.0.3-h59595ed_0.conda https://conda.anaconda.org/conda-forge/linux-64/libopencv-4.9.0-qt5_py38h03d32d8_512.conda https://conda.anaconda.org/conda-forge/linux-64/libsdformat14-14.2.0-h2d4a2c5_0.conda https://conda.anaconda.org/conda-forge/linux-64/ogre-1.10.12.1-hb5e08f3_0.conda https://conda.anaconda.org/conda-forge/linux-64/sdl-1.2.68-h293081c_0.conda https://conda.anaconda.org/conda-forge/linux-64/tiledb-2.23.0-h27f064a_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgdal-3.8.5-h77540a9_5.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-transport13-13.2.0-h45a367e_0.conda https://conda.anaconda.org/conda-forge/linux-64/libyarp-3.9.0-ha614a09_2.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-common5-5.6.0-h9fd958d_1.conda https://conda.anaconda.org/conda-forge/linux-64/yarp-python-3.9.0-py312hebe80a8_2.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-fuel-tools9-9.0.3-h9614a5f_0.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-physics7-7.2.0-h45a2cb6_1.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-rendering8-8.1.1-hd3aeb46_1.conda https://conda.anaconda.org/conda-forge/linux-64/yarp-3.9.0-ha770c72_2.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-gui8-8.0.0-hee5a715_6.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-sensors8-8.0.0-hf437a2f_5.conda https://conda.anaconda.org/conda-forge/linux-64/libgz-sim8-8.3.0-h81317a9_0.conda ```

I'm trying to create the environment with the following command: mamba create --name conda_ci --file <filepath.txt>

Any clue about this @traversaro?

traversaro commented 1 month ago

When trying to create on my local machine the environment used on the Conda CI for Ubuntu 22.04 exported with conda list --explicit I get the following error:

CondaValueError: could not parse 'https://conda.anaconda.org/conda-forge/linux-64/x264-1!164.3095-h166bdaf_2.tar.bz2' in: /home/acroci/Desktop/debug_conda_ci/conda_ci_env.txt

Here's the output of the conda list --explicit: Details

I'm trying to create the environment with the following command: mamba create --name conda_ci --file <filepath.txt>

Any clue about this @traversaro?

Not sure, how did you solved?

xela-95 commented 1 month ago

When trying to create on my local machine the environment used on the Conda CI for Ubuntu 22.04 exported with conda list --explicit I get the following error:

CondaValueError: could not parse 'https://conda.anaconda.org/conda-forge/linux-64/x264-1!164.3095-h166bdaf_2.tar.bz2' in: /home/acroci/Desktop/debug_conda_ci/conda_ci_env.txt

Here's the output of the conda list --explicit: Details I'm trying to create the environment with the following command: mamba create --name conda_ci --file <filepath.txt> Any clue about this @traversaro?

Not sure, how did you solved?

I've did two things so not sure which one is the real solution.

First I updated my mamba version, then I copied to the txt file the entire output of conda list --explicit, including the headers:

# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-64
@EXPLICIT
xela-95 commented 1 month ago

In this way I'm finally able to reproduce locally the failures of the tests.

xela-95 commented 1 month ago

The error message [Err] [Server.cc:198] Error Code 40: Msg: Error parsing XML in file [/home/runner/micromamba/envs/gzyarppluginsdev/share/ comes from sdformat package: https://github.com/gazebosim/sdformat/blob/6f1c36502f1085836ab9876e26afac3238f26820/src/parser.cc#L844-L850

traversaro commented 1 month ago

The diff between sdformat 14.0.0 and 14.2.0 is https://github.com/gazebosim/sdformat/compare/sdformat14_14.0.0...sdformat14_14.2.0 .

traversaro commented 1 month ago

The diff between sdformat 14.0.0 and 14.2.0 is gazebosim/sdformat@sdformat14_14.0.0...sdformat14_14.2.0 .

This change may be related: https://github.com/gazebosim/sdformat/pull/1239 .

traversaro commented 1 month ago

The diff between sdformat 14.0.0 and 14.2.0 is gazebosim/sdformat@sdformat14_14.0.0...sdformat14_14.2.0 .

This change may be related: gazebosim/sdformat#1239 .

In particular this function: https://github.com/gazebosim/sdformat/pull/1239/files#diff-497b59a757dc6d26ca6ec70d1e804f60c934bd2c0f53ffbe8551a010dee6844dR46 .

traversaro commented 1 month ago

The diff between sdformat 14.0.0 and 14.2.0 is gazebosim/sdformat@sdformat14_14.0.0...sdformat14_14.2.0 .

This change may be related: gazebosim/sdformat#1239 .

In particular this function: https://github.com/gazebosim/sdformat/pull/1239/files#diff-497b59a757dc6d26ca6ec70d1e804f60c934bd2c0f53ffbe8551a010dee6844dR46 .

And all may boil down to https://github.com/gazebosim/sdformat/issues/198 . I am not sure why conda's binary prefix relocation is not working anymore (see https://docs.conda.io/projects/conda-build/en/latest/resources/make-relocatable.html), but that is indeed a tricky machinery (that anyhow does not work on Windows), and that the reason why we switched to explicitly making the packages relocatable in https://github.com/gazebosim/gz-sim/issues/626 .

xela-95 commented 1 month ago

And all may boil down to gazebosim/sdformat#198 . I am not sure why conda's binary prefix relocation is not working anymore (see https://docs.conda.io/projects/conda-build/en/latest/resources/make-relocatable.html), but that is indeed a tricky machinery (that anyhow does not work on Windows), and that the reason why we switched to explicitly making the packages relocatable in gazebosim/gz-sim#626 .

Ok thank you so much for unravelling this tangle! So to recap the issue could be due to the fact that when passing the path of the SDF model to the TestFixture class of gz-sim, it searches for it only in its installation directory?

xela-95 commented 1 month ago

@traversaro how do you suggest to proceed?

traversaro commented 1 month ago

Ok thank you so much for unravelling this tangle! So to recap the issue could be due to the fact that when passing the path of the SDF model to the TestFixture class of gz-sim, it searches for it only in its installation directory?

Not really. My hypothesis is that he is not able to find anymore some SDF files, that however are not related to the .world file that we pass. Can you check if gz sim shapes.sdf is able to start correctly from the command line?

traversaro commented 1 month ago

@traversaro how do you suggest to proceed?

Can you try to check a standalone TestFixture example from gz-sim (for example https://gazebosim.org/api/sim/8/test_fixture.html) and see if it reproduces the problem? If yes, I would open an issue in https://github.com/conda-forge/libsdformat-feedstock and pin sdformat to 14.0.0 in the CI in the meanwhile.

xela-95 commented 1 month ago

Not really. My hypothesis is that he is not able to find anymore some SDF files, that however are not related to the .world file that we pass. Can you check if gz sim shapes.sdf is able to start correctly from the command

when running it I get the same error:

[Err] [Server.cc:198] Error Code 40: Msg: Error parsing XML in file [/home/acroci/mambaforge/envs/conda_ci/share/
[Err] [Server.cc:198] Error Code 1: Msg: File [] doesn't exist.
[Err] [Server.cc:198] Error Code 1: Msg: Unable to read file: [/home/acroci/mambaforge/envs/conda_ci/share/gz/gz-sim8/worlds/shapes.sdf]
xela-95 commented 1 month ago

Can you try to check a standalone TestFixture example from gz-sim (for example https://gazebosim.org/api/sim/8/test_fixture.html) and see if it reproduces the problem? If yes, I would open an issue in https://github.com/conda-forge/libsdformat-feedstock and pin sdformat to 14.0.0 in the CI in the meanwhile.

I compiled and ran the standalone tests in https://github.com/gazebosim/gz-sim/tree/gz-sim8_8.3.0/examples/standalone/gtest_setup

They report the same errors we are experiencing.

gravity_TEST:

./gravity_TEST
Running main() from /home/acroci/repos/gz-sim/examples/standalone/gtest_setup/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ExampleTests
[ RUN      ] ExampleTests.Gravity
[Msg] Loading SDF world file[/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/gravity.sdf].
[Err] [Server.cc:198] Error Code 40: Msg: Error parsing XML in file [/home/acroci/mambaforge/envs/conda_ci/share/
[Err] [Server.cc:198] Error Code 1: Msg: File [] doesn't exist.
[Err] [Server.cc:198] Error Code 1: Msg: Unable to read file: [/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/gravity.sdf]
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/gravity_TEST.cc:85: Failure
Expected equality of these values:
  1000
  iterations
    Which is: 0
[  FAILED  ] ExampleTests.Gravity (50 ms)
[----------] 1 test from ExampleTests (50 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (50 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ExampleTests.Gravity

 1 FAILED TEST

command_TEST

./command_TEST
Running main() from /home/acroci/repos/gz-sim/examples/standalone/gtest_setup/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ExampleTests
[ RUN      ] ExampleTests.Command
[Msg] Loading SDF world file[/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command.sdf].
[Err] [Server.cc:198] Error Code 40: Msg: Error parsing XML in file [/home/acroci/mambaforge/envs/conda_ci/share/
[Err] [Server.cc:198] Error Code 1: Msg: File [] doesn't exist.
[Err] [Server.cc:198] Error Code 1: Msg: Unable to read file: [/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command.sdf]
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:74: Failure
Value of: configured
  Actual: false
Expected: true
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:97: Failure
Expected equality of these values:
  expectedIterations
    Which is: 10
  iterations
    Which is: 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:99: Failure
Expected: (0.0) > (linVel.Z()), actual: 0 vs 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:100: Failure
Expected: (0.0) > (linAccel.Z()), actual: 0 vs 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:123: Failure
Expected: (sleep) < (maxSleep), actual: 30 vs 30
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:124: Failure
Expected equality of these values:
  expectedIterations
    Which is: 310
  iterations
    Which is: 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:126: Failure
Expected equality of these values:
  10.0
    Which is: 10
  linVel.X()
    Which is: 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:127: Failure
Expected: (0.0) > (linVel.Z()), actual: 0 vs 0
/home/acroci/repos/gz-sim/examples/standalone/gtest_setup/command_TEST.cc:128: Failure
Expected: (0.0) > (linAccel.Z()), actual: 0 vs 0
[  FAILED  ] ExampleTests.Command (3056 ms)
[----------] 1 test from ExampleTests (3056 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (3056 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ExampleTests.Command

 1 FAILED TEST
traversaro commented 1 month ago

They report the same errors we are experiencing.

Great, can you open an issue at https://github.com/conda-forge/libsdformat-feedstock ? Thanks!

xela-95 commented 1 month ago

Great, can you open an issue at https://github.com/conda-forge/libsdformat-feedstock ? Thanks!

Opened https://github.com/conda-forge/libsdformat-feedstock/issues/116

traversaro commented 1 month ago

Given https://github.com/conda-forge/admin-requests/pull/994#event-12785449759, you can probably remove the pinning of sdformat .

xela-95 commented 1 month ago

Finally the Conda CI is passing for all platforms.

traversaro commented 1 month ago

It seems that the apt CI is failing?

xela-95 commented 1 month ago

It seems that the apt CI is failing?

Yep, that's addressed by https://github.com/robotology/gz-sim-yarp-plugins/pull/166, I would merge it after this one.

traversaro commented 1 month ago

It seems that the apt CI is failing?

Yep, that's addressed by #166, I would merge it after this one.

Ok!

traversaro commented 1 month ago

It seems that the apt CI is failing?

Yep, that's addressed by #166, I would merge it after this one.

Are you sure that disabling codecov will be sufficient? This CI on apt fails with error:

[38/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o
FAILED: tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o 
/usr/bin/c++ -DCMAKE_CURRENT_SOURCE_DIR=\"/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard\" -DHAVE_PYBIND11 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/test-helpers -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/libraries/device-registry -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/libraries/common -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/plugins/controlboard/include -isystem /usr/include/gz/sim8 -isystem /usr/include/gz/math7 -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/plugin2 -isystem /usr/include/gz/common5 -isystem /usr/include/uuid -isystem /usr/include/gz/fuel_tools9 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/gui8 -isystem /usr/include/gz/transport13 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/gz/physics7 -isystem /usr/include/eigen3 -isystem /usr/include/gz/rendering8 -isystem /usr/include/gz/sdformat14 -isystem /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/install/deps/include --coverage -g -O0 -DGTEST_HAS_PTHREAD=1 -I/usr/include/uuid -I/usr/include -fPIC -I/usr/include/x86_64-linux-gnu -MD -MT tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o -MF tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o.d -o tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o -c /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc: In constructor ‘gzyarp::test::ControlBoardTorqueControlFixture::ControlBoardTorqueControlFixture()’:
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:43:41: error: ‘path’ is not a member of ‘std::filesystem’
   43 |         : testFixture{(std::filesystem::path(CMAKE_CURRENT_SOURCE_DIR) / GetParam()).string()}
      |                                         ^~~~
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:43:11: error: no matching function for call to ‘gz::sim::v8::TestFixture::TestFixture(<brace-enclosed initializer list>)’
   43 |         : testFixture{(std::filesystem::path(CMAKE_CURRENT_SOURCE_DIR) / GetParam()).string()}
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:19:
/usr/include/gz/sim8/gz/sim/TestFixture.hh:66:20: note: candidate: ‘gz::sim::v8::TestFixture::TestFixture(const gz::sim::v8::ServerConfig&)’
   66 |   public: explicit TestFixture(const ServerConfig &_config);
      |                    ^~~~~~~~~~~
/usr/include/gz/sim8/gz/sim/TestFixture.hh:66:20: note:   conversion of argument 1 would be ill-formed:
/usr/include/gz/sim8/gz/sim/TestFixture.hh:62:20: note: candidate: ‘gz::sim::v8::TestFixture::TestFixture(const string&)’
   62 |   public: explicit TestFixture(const std::string &_path);
      |                    ^~~~~~~~~~~
/usr/include/gz/sim8/gz/sim/TestFixture.hh:62:20: note:   conversion of argument 1 would be ill-formed:
[39/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardPositionDirectControlTest.dir/ControlBoardPositionDirectControlTest.cc.o
[40/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardPositionControlTest.dir/ControlBoardPositionControlTest.cc.o
[41/53] Building CXX object tests/commons/CMakeFiles/ConfigurationParsingFromFileTest.dir/ConfigurationParsingFromFileTest.cc.o
[42/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardOnMultipleGazeboInstancesTest.dir/ControlBoardOnMultipleGazeboInstancesTest.cc.o
[43/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardCommonsTest.dir/ControlBoardCommonsTest.cc.o
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1.

that is different from the error mentioned in that issue.

xela-95 commented 1 month ago

Are you sure that disabling codecov will be sufficient? This CI on apt fails with error:

[38/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o
FAILED: tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o 
/usr/bin/c++ -DCMAKE_CURRENT_SOURCE_DIR=\"/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard\" -DHAVE_PYBIND11 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/test-helpers -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/libraries/device-registry -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/libraries/common -I/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/plugins/controlboard/include -isystem /usr/include/gz/sim8 -isystem /usr/include/gz/math7 -isystem /usr/include/gz/utils2 -isystem /usr/include/gz/plugin2 -isystem /usr/include/gz/common5 -isystem /usr/include/uuid -isystem /usr/include/gz/fuel_tools9 -isystem /usr/include/gz/msgs10 -isystem /usr/include/gz/gui8 -isystem /usr/include/gz/transport13 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/gz/physics7 -isystem /usr/include/eigen3 -isystem /usr/include/gz/rendering8 -isystem /usr/include/gz/sdformat14 -isystem /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/install/deps/include --coverage -g -O0 -DGTEST_HAS_PTHREAD=1 -I/usr/include/uuid -I/usr/include -fPIC -I/usr/include/x86_64-linux-gnu -MD -MT tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o -MF tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o.d -o tests/controlboard/CMakeFiles/ControlBoardTorqueControlTest.dir/ControlBoardTorqueControlTest.cc.o -c /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc: In constructor ‘gzyarp::test::ControlBoardTorqueControlFixture::ControlBoardTorqueControlFixture()’:
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:43:41: error: ‘path’ is not a member of ‘std::filesystem’
   43 |         : testFixture{(std::filesystem::path(CMAKE_CURRENT_SOURCE_DIR) / GetParam()).string()}
      |                                         ^~~~
/home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:43:11: error: no matching function for call to ‘gz::sim::v8::TestFixture::TestFixture(<brace-enclosed initializer list>)’
   43 |         : testFixture{(std::filesystem::path(CMAKE_CURRENT_SOURCE_DIR) / GetParam()).string()}
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/controlboard/ControlBoardTorqueControlTest.cc:19:
/usr/include/gz/sim8/gz/sim/TestFixture.hh:66:20: note: candidate: ‘gz::sim::v8::TestFixture::TestFixture(const gz::sim::v8::ServerConfig&)’
   66 |   public: explicit TestFixture(const ServerConfig &_config);
      |                    ^~~~~~~~~~~
/usr/include/gz/sim8/gz/sim/TestFixture.hh:66:20: note:   conversion of argument 1 would be ill-formed:
/usr/include/gz/sim8/gz/sim/TestFixture.hh:62:20: note: candidate: ‘gz::sim::v8::TestFixture::TestFixture(const string&)’
   62 |   public: explicit TestFixture(const std::string &_path);
      |                    ^~~~~~~~~~~
/usr/include/gz/sim8/gz/sim/TestFixture.hh:62:20: note:   conversion of argument 1 would be ill-formed:
[39/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardPositionDirectControlTest.dir/ControlBoardPositionDirectControlTest.cc.o
[40/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardPositionControlTest.dir/ControlBoardPositionControlTest.cc.o
[41/53] Building CXX object tests/commons/CMakeFiles/ConfigurationParsingFromFileTest.dir/ConfigurationParsingFromFileTest.cc.o
[42/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardOnMultipleGazeboInstancesTest.dir/ControlBoardOnMultipleGazeboInstancesTest.cc.o
[43/53] Building CXX object tests/controlboard/CMakeFiles/ControlBoardCommonsTest.dir/ControlBoardCommonsTest.cc.o
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1.

that is different from the error mentioned in that issue.

Oh sorry I didn't see it!

xela-95 commented 1 month ago

Now the CI is passing. Merging