Coder Social home page Coder Social logo

Comments (6)

lxwinspur avatar lxwinspur commented on September 17, 2024 1

@amboar
Could you please take a look at this patch?
https://gerrit.openbmc.org/c/openbmc/openbmc-build-scripts/+/73458

from openbmc-build-scripts.

amboar avatar amboar commented on September 17, 2024

So I had a look at https://www.gcovr.com/en/stable/faq.html, and then replaced lcov in my development setup with gcovr, and the results are much better. We should switch to gcovr for the reasons outlined in the FAQ if nothing else.

from openbmc-build-scripts.

lxwinspur avatar lxwinspur commented on September 17, 2024

@amboar
It looks like this affects libmctp:
https://jenkins.openbmc.org/job/ci-repository/89079/console

from openbmc-build-scripts.

lxwinspur avatar lxwinspur commented on September 17, 2024
checking for genhtml... no
configure: error: To enable code coverage reporting you must have lcov installed
Traceback (most recent call last):
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 1423, in <module>
    build_and_install(UNIT_TEST_PKG, True)
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 313, in build_and_install
    pkg.test()
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 1199, in test
    self._test_one(system)
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 1190, in _test_one
    system.configure(True)
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 719, in configure
    check_call_cmd("./configure", *conf_flags)
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py", line 238, in check_call_cmd
    check_call(cmd, **kwargs)
  File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('./configure', '--disable-silent-rules', '--enable-examples', '--enable-tests', '--enable-itests', '--enable-code-coverage', '--enable-valgrind')' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/dbus-unit-test.py", line 109, in <module>
    check_call(UNIT_TEST.split(","), env=os.environ)
  File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/data0/jenkins/workspace/ci-repository/openbmc/openbmc-build-scripts/scripts/unit-test.py', '-w', '/data0/jenkins/workspace/ci-repository/openbmc', '-p', 'libmctp', '-b', 'master', '-v']' returned non-zero exit status 1.
Build step 'Execute shell' marked build as failure

from openbmc-build-scripts.

amboar avatar amboar commented on September 17, 2024

I think at this point, given how few autotools-based projects we should have left, that we just disable code coverage support for them in the CI script. @lxwinspur can you push a patch doing so?

from openbmc-build-scripts.

lxwinspur avatar lxwinspur commented on September 17, 2024

I think at this point, given how few autotools-based projects we should have left, that we just disable code coverage support for them in the CI script. @lxwinspur can you push a patch doing so?

Sure, I will update this week.

from openbmc-build-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.