Comments (6)
@amboar
Could you please take a look at this patch?
https://gerrit.openbmc.org/c/openbmc/openbmc-build-scripts/+/73458
from openbmc-build-scripts.
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.
@amboar
It looks like this affects libmctp:
https://jenkins.openbmc.org/job/ci-repository/89079/console
from openbmc-build-scripts.
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.
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.
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)
- Install ipmitool to run network IPMI in robot
- Intermittent failures when getting docker ip address in run-qemu-robot-test.sh HOT 5
- copy at end of build occasionally hangs HOT 6
- Install openssl to test certificate in automation
- build-unit-test-docker.sh: Extract specific commits when not using ubuntu package HOT 1
- Error parsing reference: "ubuntu:bionic as openbmc-base" is not a valid repository/tag HOT 5
- build-unit-test-docker.sh: Enable branch support
- Build scripts use outdated gcc version
- Missing libsystmed0 (= 245.4-4ubuntu3.1) dependency causes run unit test docker script to failed HOT 7
- Meson dependencies check won't pick list items HOT 1
- jenkins artifacts no longer allow or show links in latest LTS release HOT 1
- get_unit_test_report.py: no longer running correctly HOT 13
- sanitizer tests fail on ppc64le HOT 1
- build-unit-test-docker: Permission denied: '/usr/lib/python3.9/__pycache__/__future__.cpython-39.pyc HOT 4
- Need systemd in the unit test docker HOT 1
- build-qemu-rebot-docker.sh needs to add somethings HOT 3
- build-unit-test-docker.sh: ppc64le: Latest Ubuntu Noble release fails to build - Cannot change mode to rwxr-xr-x: Operation not permitted
- run-unit-test-docker.sh: Enable SSH support HOT 3
- unit-test.py: Problems with analyzes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbmc-build-scripts.