Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on ctest_fmi1_xml_parsing_test #241

Open
davebiagioni opened this issue Jan 18, 2023 · 0 comments
Open

Build fails on ctest_fmi1_xml_parsing_test #241

davebiagioni opened this issue Jan 18, 2023 · 0 comments

Comments

@davebiagioni
Copy link

Thanks for your work in putting this repo together.

I'm encountering an error running docker-compose. Any pointers? FYI @peteg240

$ docker-compose up
Building building-controls-simulator
[+] Building 117.0s (8/12)                                                                                   
 => [internal] load build definition from Dockerfile                                                    0.0s
 => => transferring dockerfile: 37B                                                                     0.0s
 => [internal] load .dockerignore                                                                       0.0s
 => => transferring context: 34B                                                                        0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                         0.7s
 => [1/8] FROM docker.io/library/ubuntu:20.04@sha256:0e0402cd13f68137edb0266e1d2c682f217814420f2d43d30  0.0s
 => [internal] load build context                                                                       0.0s
 => => transferring context: 5.99kB                                                                     0.0s
 => CACHED [2/8] RUN apt-get update && apt-get install -y --no-install-recommends sudo     && adduser   0.0s
 => CACHED [3/8] RUN sudo apt-get update && sudo apt-get upgrade -y     && sudo apt-get install -y --n  0.0s
 => ERROR [4/8] RUN mkdir "/home/bcs/lib" && mkdir "/home/bcs/lib/external"     && cd "/home/bcs/lib  116.3
[...LOTS OF TRUNCATED OUTPUT...]
#7 115.9       Start 35: ctest_fmi_import_test_me_2
#7 115.9 35/36 Test #35: ctest_fmi_import_test_me_2 ...........................   Passed    0.00 sec
#7 115.9       Start 36: ctest_fmi_import_test_cs_2
#7 115.9 36/36 Test #36: ctest_fmi_import_test_cs_2 ...........................   Passed    0.00 sec
#7 115.9 
#7 115.9 97% tests passed, 1 tests failed out of 36
#7 115.9 
#7 115.9 Total Test time (real) =   0.92 sec
#7 115.9 
#7 115.9 The following tests FAILED:
#7 115.9 	  6 - ctest_fmi1_xml_parsing_test (Failed)
#7 115.9 Errors while running CTest
#7 115.9 make: *** [Makefile:118: test] Error 8
------
executor failed running [/bin/sh -c mkdir "${LIB_DIR}" && mkdir "${EXT_DIR}"     && cd "${EXT_DIR}"     && curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash     && pyenv update && pyenv install 3.8.12     && wget "https://github.com/modelon-community/fmi-library/archive/refs/tags/2.3.zip"     && unzip "2.3.zip" && mv "fmi-library-2.3" "FMIL"     && rm -rf "2.3.zip"     && cd "FMIL"     && mkdir build-fmil; cd build-fmil     && cmake -DFMILIB_INSTALL_PREFIX=./ ../     && make install test     && cd "${EXT_DIR}"     && wget "https://github.com/modelica-tools/FMUComplianceChecker/releases/download/2.0.4/FMUChecker-2.0.4-linux64.zip"     && unzip "FMUChecker-2.0.4-linux64.zip"     && rm "FMUChecker-2.0.4-linux64.zip"     && mv "FMUChecker-2.0.4-linux64" "FMUComplianceChecker"     && mkdir "fmu"     && cd "${EXT_DIR}"     && wget "https://github.com/lbl-srg/EnergyPlusToFMU/archive/refs/tags/v3.1.0.zip"     && unzip "v3.1.0.zip" && rm "v3.1.0.zip"     && cd "${EXT_DIR}"     && wget "https://github.com/LLNL/sundials/releases/download/v4.1.0/sundials-4.1.0.tar.gz"     && tar -xzf "sundials-4.1.0.tar.gz" && rm "sundials-4.1.0.tar.gz"     && cd "sundials-4.1.0"     && mkdir "build"     && cd "build"     && cmake -DCMAKE_INSTALL_PREFIX="${EXT_DIR}/sundials" ..     && make install     && cd "${EXT_DIR}"     && wget "https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.9.1.tar.gz"     && tar -xzf "v3.9.1.tar.gz" && rm "v3.9.1.tar.gz"     && cd "lapack-3.9.1"     && mkdir build     && cd "build"     && cmake -DCMAKE_INSTALL_PREFIX="${EXT_DIR}/lapack" ..     && cmake --build . -j --target install     && cd "${EXT_DIR}"     && wget "https://github.com/modelon-community/Assimulo/archive/refs/tags/Assimulo-3.2.9.tar.gz"     && tar -xzf "Assimulo-3.2.9.tar.gz" && rm "Assimulo-3.2.9.tar.gz"     && mv "${EXT_DIR}/Assimulo-Assimulo-3.2.9" "${EXT_DIR}/Assimulo-3.2.9"     && cd "${EXT_DIR}"     && wget "https://github.com/modelon-community/PyFMI/archive/refs/tags/PyFMI-2.9.5.tar.gz"     && tar -xzf "PyFMI-2.9.5.tar.gz" && rm "PyFMI-2.9.5.tar.gz"    && mv "${EXT_DIR}/PyFMI-PyFMI-2.9.5" "${EXT_DIR}/PyFMI"     && cd "${LIB_DIR}"     && mkdir "${PACKAGE_DIR}"     && sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 2
ERROR: Service 'building-controls-simulator' failed to build : Build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant