<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:36 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-1453] Combine mongoc code coverage reports from all variants</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1453</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Evergreen builds on most platforms should generate coverage reports.&lt;/p&gt;

&lt;p&gt;Can generate with gcov, lcov, and genhtml on gcc / clang platforms, don&apos;t know about MSVC yet. coveralls.io may help cross-platform issues, and / or may provide a more insightful UI.&lt;/p&gt;</description>
                <environment></environment>
        <key id="306920">CDRIVER-1453</key>
            <summary>Combine mongoc code coverage reports from all variants</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="spencer.mckenney">Spencer Mckenney</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Aug 2016 18:39:36 +0000</created>
                <updated>Thu, 19 Jul 2018 18:05:16 +0000</updated>
                            <resolved>Thu, 19 Jul 2018 18:05:16 +0000</resolved>
                                                    <fixVersion>Not Planned</fixVersion>
                                    <component>libbson</component>
                    <component>libmongoc</component>
                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1951531" author="xgen-internal-githook" created="Thu, 19 Jul 2018 18:04:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;spencemc&apos;, &apos;name&apos;: &apos;Spencer McKenney&apos;, &apos;email&apos;: &apos;spencermck@me.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1453&quot; title=&quot;Combine mongoc code coverage reports from all variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1453&quot;&gt;&lt;del&gt;CDRIVER-1453&lt;/del&gt;&lt;/a&gt; code coverage using codecov.io&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/78d40f5744ff8748228d396b4bd9b44b41d6c2e9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/78d40f5744ff8748228d396b4bd9b44b41d6c2e9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1938418" author="kevin.albertson" created="Tue, 3 Jul 2018 21:31:26 +0000"  >&lt;p&gt;From experimenting with both, Codecov does seem simpler to merge reports. Let&apos;s add code coverage to all of the tasks in the Valgrind (or ASAN) variant. The slowdown of code coverage won&apos;t matter there, since we already skip time sensitive tests on those variants.&lt;/p&gt;</comment>
                            <comment id="1934961" author="jesse" created="Fri, 29 Jun 2018 16:00:17 +0000"  >&lt;p&gt;Perhaps sign up for a free coverage report from coveralls.io or codecov.io (both free for open source).&lt;/p&gt;

&lt;p&gt;With Coveralls, we&apos;d use a Python script to convert the coverage output file to JSON for each build, and once all are complete we&apos;d have a final step that somehow depends on all of them. The final step uses the same Python script to merge JSON files and post to Coveralls:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://coveralls-python.readthedocs.io/en/latest/usage/multilang.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://coveralls-python.readthedocs.io/en/latest/usage/multilang.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Codecov seems simpler, it seems to merge reports for us instead of requiring us to do it in Evergreen:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/codecov/example-c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/codecov/example-c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://docs.codecov.io/docs/merging-reports&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.codecov.io/docs/merging-reports&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, I don&apos;t know with Codecov how to inform it that all testing is complete in Evergreen and it&apos;s time to finalize the report.&lt;/p&gt;</comment>
                            <comment id="1419895" author="bjori" created="Thu, 27 Oct 2016 20:08:02 +0000"  >&lt;p&gt;This is a bit tricky because we have different tasks that test different things.&lt;br/&gt;
For example, MongoDB 2.6 codepath is never going to be triggered when running the MongoDB 3.4 task, unless we use mock servers for everything, which has the clear disadvantage of being mock, not real testing.&lt;/p&gt;

&lt;p&gt;We maybe can do something about uploading each coverage result and fetch it before next task and see if it can be done incrementally... Not sure how much effort we want to realistically put into this.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="571373">CDRIVER-2749</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="213873">CDRIVER-729</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsoex3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>