[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2021-05-26 Thread STINNER Victor
STINNER Victor added the comment: > Test code coverage (C) job of Travis CI fails on test_distutils which creates > _configtest.gcno file This Travis CI has been removed, I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: Another issue: the "Test code coverage (C)" job on Travis CI times out after 50 minutes: https://travis-ci.org/github/python/cpython/jobs/699170857 0:44:44 load avg: 7.76 running: test_multiprocessing_spawn (11 min 38 sec), test_concurrent_futures (9 min 33

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-06-17 Thread STINNER Victor
STINNER Victor added the comment: See also Coverage report in Github CI for standard library discussion: https://discuss.python.org/t/coverage-report-in-github-ci-for-standard-library/2836 -- ___ Python tracker

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-06-16 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40993: "Don't run Python and C coverage jobs of Travis CI on pull requests". -- ___ Python tracker ___

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-05-14 Thread hai shi
hai shi added the comment: > It seems like there is coverage on both C and Python code. Great, MAYBE we can use this coverage result to improve our testcases. -- ___ Python tracker

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: It seems like results at published at: https://codecov.io/gh/python/cpython/ It seems like there is coverage on both C and Python code. I never used this service. -- nosy: +p-ganssle ___ Python tracker

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-21 Thread STINNER Victor
STINNER Victor added the comment: Brett: > The historical background is code coverage of C code seemed like a good idea, > so we set it up. :) Not much else to it. If there is no user of code coverage *on pull requests*, maybe the simplest fix is to remove this job. There is also Codecov

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-21 Thread hai shi
hai shi added the comment: > The historical background is code coverage of C code seemed like a good idea, > so we set it up. :) Not much else to it. Hm, code coverage of C code including two parts: 1) coverage of inner c code; 2) extension modules built by distutils; If I understand

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-20 Thread Brett Cannon
Brett Cannon added the comment: The historical background is code coverage of C code seemed like a good idea, so we set it up. :) Not much else to it. -- ___ Python tracker

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-17 Thread hai shi
hai shi added the comment: > Hai: if you want to move on this issue, you have to find who uses this CI and > how it should behave. Copy that. I found PR7773 updated the travis' coverage ci and a discussion issue in https://github.com/python/core-workflow/issues/2, so I add brett and ammar

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-17 Thread STINNER Victor
STINNER Victor added the comment: I understand that with PR 19460, code coverage is not longer run on C extension modules of the stdlib. I'm not using C code coverage, so I don't know how it's supposed to be used or analyzed. Hai: if you want to move on this issue, you have to find who uses

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-11 Thread hai shi
hai shi added the comment: FWIW, gcc Instrumentation Options in https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html -- ___ Python tracker ___

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-11 Thread hai shi
hai shi added the comment: After `CFLAGS` replcaced by `CFLAGS_NODIST`, some extension module built failed, some info like: *** WARNING: renaming "_struct" since importing it failed: build/lib.linux-x86_64-3.9/_struct.cpython-39-x86_64-linux-gnu.so: undefined symbol: __gcov_merge_add the

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-10 Thread hai shi
hai shi added the comment: > Looks like it worked. Oh, sorry, I checked the wrong gate. -- ___ Python tracker ___ ___

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-10 Thread hai shi
hai shi added the comment: > Maybe CFLAGS_NODIST should be used instead of CFLAGS. Looks like it worked. > Python is built GCC with -ftest-coverage option. More exact description is: Python is built GCC with --coverage option, --coverage option including -ftest-coverage option. --

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-10 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +18816 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19460 ___ Python tracker ___

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-10 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-09 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-04-09 Thread STINNER Victor
New submission from STINNER Victor : Example: https://travis-ci.org/github/python/cpython/jobs/672698615 Output: === 0:09:01 load avg: 3.96 [104/421/1] test_distutils failed -- running: test_multiprocessing_forkserver (1 min 13 sec), test_unparse (6 min