Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107547 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64532 invoked from network); 14 Oct 2019 16:31:44 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 14 Oct 2019 16:31:44 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 3CD1F2C0494 for ; Mon, 14 Oct 2019 07:15:39 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Mon, 14 Oct 2019 07:15:38 -0700 (PDT) Received: by mail-vk1-xa2c.google.com with SMTP id f1so3559419vkh.9 for ; Mon, 14 Oct 2019 07:15:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IMUqA2shambj/LtIqrkoqdLIT0Zx440lPfIiMHxTG14=; b=mhcT+/jPZ7pc8TxVJdlcLQG1vuTPnYynBfA3VCy7RjpuGpbEO/8H4tXixT7f8lgFyi rq9145UjlvxMA5UJk+zZxkEuCjcsUcaqzuQx9Vt1J8bda/R/ueb7q/4IXUsxXT9FbqfX R67I3A/m25DcZ4IF0yIvHicNg5YUqAldjQurE/ick482hwroX8A4PX3xlMRU/isdoCI8 KYIqgXwI5w3WZaZLTt5MyLjyyKPRRw+u6IDZhkHGaCuNqAcTsO38Xp7H9LJlDSzHYMfW Ggj6paEpJKMFJBh+etnjXD4x++SCSmh7KpgBxfIq9EsAgU7tp8xrESiL6NmyDNx9vHu7 s/Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IMUqA2shambj/LtIqrkoqdLIT0Zx440lPfIiMHxTG14=; b=e7l5Ro6g1FQ58nqe/azmr17hReZhEugEyPAJVOpdYZ4W/u8rhtV1FkfJxyf9cmYUof PoCGLeh7yrcBiSazsgQ9hAo/B1PH9aV//Mp/RAfBmQSTxC+3aLCVJZQ4PESObwTv7hJ4 YjLJinSeLrEctuv1L3FmCOU9c52MNzwHD13feXHl0TKKjJY+oveFHoEhi7LZqpW1IxPP FOV8IZQylmuG92l9HuCDXrxKyXs1o16kQzIWS3ft07vjLvz9vfmc66MWrkIAcoJtU61Q 8bHB6CIhqm1CBdItVHRt05vyEGpM79NWeA9EvJOYfxgB5j24f+lDzOPNvq4uiSXCRNz8 goIg== X-Gm-Message-State: APjAAAVnA7xEulpPnv1KzCe8AeEyFQDkNf+7R7SIXRzw02QAUqmzGgAj 3bViU4LNNM7dp10jJb/eXpnCFv1QXor00HkrFgzLYk6THow= X-Google-Smtp-Source: APXvYqxA/oXN9UzJ8/wsJTtN73WapzQuRc6GUj6+a4HP8+eRxy1RYp5ZsPtq1/VoDztAlUh0rTQFwIdw+8BQnp5YQQY= X-Received: by 2002:a1f:2305:: with SMTP id j5mr15857982vkj.33.1571062538016; Mon, 14 Oct 2019 07:15:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 14 Oct 2019 16:15:24 +0200 Message-ID: To: Nikita Popov Cc: Gerard Roche , PHP internals Content-Type: multipart/alternative; boundary="0000000000007f9aee0594df80ef" X-Envelope-From: Subject: Re: [PHP-DEV] Computing code coverage on Azure Pipelines From: krakjoe@gmail.com (Joe Watkins) --0000000000007f9aee0594df80ef Content-Type: text/plain; charset="UTF-8" I am current maintainer of gcov server, I planned this kind of integration with azure, so once again, thanks. +1 to ditching gcov.php.net, we are terrible at infra ... On Mon, 14 Oct 2019, 16:13 Nikita Popov, wrote: > On Mon, Sep 30, 2019 at 2:30 PM Gerard Roche > wrote: > > > > gcov.php.net used to provide valgrind reports and code coverage for > > > php-src. It no longer works with 7.4/8.0, because the OS is very old, > and > > > building new versions of PHP there gets very hard. The valgrind reports > > > have essentially been subsumed by asan/ubsan on Azure Pipelines, but > > we're > > > still missing a replacement for code coverage. > > > > The index page for v7.4 and the master branch say the build failed but > > it looks like the > > valgrind and coverage reports are still generated: > > > > http://gcov.php.net/PHP_HEAD/lcov_html/ > > > > > The first step is probably to get code coverage working locally. We > have > > a > > > ./configure --enable-gcov option and there's some extra make targets in > > > build/Makefile.gcov. Maybe taking a look at what > > > https://github.com/php/web-gcov/blob/master/cron/cron.sh does would > > help. > > > > > > Second step is to add a new job in azure by copying > > > https://github.com/php/php-src/blob/master/azure/job.yml and adding > the > > > necessary gcov/lcov magic there. > > > > > > The hard part if how to get those results published on Azure under the > > > "Code coverage" tab. There is a PublishCodeCoverageResults task for > this > > > purpose, but I don't know how one would use that with lcov in > particular. > > > It seems to me that part of it requires a coverage overview in a > specific > > > format and part is just a directory with HTML, so maybe the result from > > ltp > > > genhtml can just be used there? Figuring out how to make this work is > > > likely going to be "fun" ;) > > > > > > Nikita > > > > Is the intention to close down gcov.php.net completely? > > > > re: https://github.com/php/php-src/pull/4746 > > > > Thanks for working on this! The code coverage support is merged now and is > published daily on azure. Here's how it looks like: > > https://dev.azure.com/phpazuredevops/PHP/_build/results?buildId=3335&view=codecoverage-tab > > With that done, I think we can shut down gcov.php.net when PHP 7.3 goes > EOL, which is the last version that still works there. > > Nikita > --0000000000007f9aee0594df80ef--