Re: Gitlab CI - Inbound

2021-09-05 Thread Ben Cooksley
On Mon, Sep 6, 2021 at 12:18 AM David Faure  wrote:

> On dimanche 5 septembre 2021 12:26:50 CEST Ben Cooksley wrote:
> > On Sun, Sep 5, 2021 at 10:22 PM David Faure  wrote:
> > > For frameworks, I think we should be able to write a one-time script
> that
> > > generates .kde-ci.yml files using the dependencies listed in kde-build-
> > > metadata (and the platforms listed in metainfo.yaml) ?
> >
> > Yes, that should work nicely (although that information now lives in
> > sysadmin/repo-metadata, dependencies folder)
>
> All done for Frameworks.
>
> The script that collects platforms from metainfo.yaml won't be useful for
> other KDE modules, but the script that collects deps from
> dependency-data-kf5-
> qt5 is attached, in case it's useful to anyone else.
>

Thanks for sorting this David, very much appreciated.


> > Once we've transitioned across to the .kde-ci.yml files the existing
> > dependency metadata and branch group files will no longer be required.
> > (We'll need to work out a way of exporting this information for easy
> > consumption by kdesrc-build and other clients before it can be removed
> > though)
>
> OK. Duplication is bad so I agree :)
>

Cheers,
Ben


> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>


Re: Gitlab CI - Inbound

2021-09-05 Thread Ben Cooksley
On Mon, Sep 6, 2021 at 12:46 AM Nicolas Fella  wrote:

> On 05.09.21 08:13, Ben Cooksley wrote:
> > Hi all,
> >
> > This morning after much work i'm happy to announce that the new
> > generation CI scripts intended for use with Gitlab CI successfully
> > completed their first build (of ECM, and then subsequently of
> > KCoreAddons).
> >
> > This begins our first steps towards transferring CI over from Jenkins
> > to Gitlab.
> >
> > These scripts are 'Gitlab native' and are designed to work in an
> > environment where they will be running on merge requests, tags as well
> > as all branches of our repositories - something the existing scripts
> > were completely incompatible with. While there are still some
> > infrastructural elements to put in place (such as 'seed jobs' to mass
> > rebuild all projects after substantial changes and 'cleanup jobs' to
> > remove old builds from the Package Registry) the core elements needed
> > for initial testing of these scripts are now ready.
> >
> > For those curious, the results of those initials runs can be found at
> > https://invent.kde.org/groups/teams/ci-artifacts/-/packages
> > 
> >
> > Due to the challenges associated with having to handle all of the
> > different forms of build and the versioning of this information, these
> > scripts also represent a radical change in how CI builds will be
> > conducted - with a large part of the configuration of the jobs
> > themselves, including information on project dependencies now shifting
> > to files located within the repository themselves. Those who monitor
> > commits to Frameworks repositories will have noticed the appearance of
> > these '.kde-ci.yml' files in some repositories.
> >
> > To assist in the future rollout of the CI system it would be
> > appreciated if projects could please begin setting up these files
> > within their respective repositories.
> > You can find a template detailing the available options at
> >
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config-template.yml
> > <
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config-template.yml
> >
> >
> > Where possible please avoid overriding the system defaults except
> > where needed by your project (ie. don't just copy the template in full)
> > The defaults mirror the template and can be found at
> >
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config/global.yml
> > <
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config/global.yml
> >
> >
> > In terms of the format of the 'Dependencies' section, please bear in
> > mind the following:
> > - For the 'on' section, the special value '@all' can be used to mean
> > "All platforms" to avoid needing to update the file in the event
> > additional platforms are added in the future
> > - For the 'require' section:
> >   1) Please only include the projects you *explicitly* depend on.
> > Dependencies of your dependencies will be included automatically
> >   2) When specifying a project, you must use the repository path on
> > Gitlab. Legacy project paths (such as kde/workspace/plasma-desktop)
> > are no longer in use and will not work.
> >   3) There are three special values for the branch name - '@same',
> > '@latest' and '@stable' which can be used to refer to the branch/tag
> > of a dependency.
> >   '@same' means the branch name should be the same as that of the
> > project being built and should be used when declaring dependencies
> > among projects in a release group.
> >   '@latest' and '@stable' refer to the corresponding branches
> > defined in the branch-rules.yml file, which can be found in
> > sysadmin/repo-metadata
> >
> > As a general rule, unless you require the absolute latest version of
> > another project in another release unit, it is recommended that you
> > use @stable.
> > Please avoid using explicit branch names unless absolutely necessary.
> >
> > At this time it is expected that the first set of Gitlab CI builds
> > using the new scripts may be conducted for Frameworks within the next
> > week or so, assuming the build of the seed jobs goes according to plan.
> >
> > Once the scripts have been proven successfully for Frameworks, we will
> > look at extending them to projects that depend only on Frameworks and
> > repositories within their release unit and finally will extend them to
> > projects with more complex dependency requirements. It is expected
> > that the switch will be flipped on the Frameworks builds sometime in
> > the next week or two.
> >
> > Please let me know if you have any questions on the above.
> >
> > Thanks,
> > Ben Cooksley
> > KDE Sysadmin
>
> Hi Ben,
>

Hi Nicolas,


> thanks for your work on this!
>
> How would I best encode a dependency like "On Linux and FreeBSD depend
> on kwayland, but not on Windows and macOS"?
>

I would suggest doing something like the followin

Re: Gitlab CI - Inbound

2021-09-05 Thread Ben Cooksley
On Mon, Sep 6, 2021 at 11:03 AM Michael Reeves  wrote:

> How do we get a visual on exactly which lines are covered by auto testing
> and which aren't?
>

Please see
https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html
for more details on how this works on Merge Requests.
To my knowledge this isn't exposed outside of Merge Requests.

Cheers,
Ben


KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1053 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1053/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Mon, 06 Sep 2021 01:20:43 +
 Build duration:
5 min 33 sec and counting
   JUnit Tests
  Name: projectroot Failed: 2 test(s), Passed: 57 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

KDE CI: Frameworks » kirigami » kf5-qt5 SUSEQt5.15 - Build # 685 - Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20SUSEQt5.15/685/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 22:35:14 +
 Build duration:
3 min 51 sec and counting
   BUILD ARTIFACTS
  acc/KF5Kirigami2-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_SUSEQt515 Failed: 1 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: projectroot.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_SUSEQt515.autotests.pagepool/tst_layers.qml
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report80%
(4/5)62%
(29/47)62%
(29/47)47%
(2609/5596)32%
(1063/3276)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests100%
(1/1)100%
(1/1)100%
(1/1)100%
(0/0)examples.applicationitemapp0%
(0/1)0%
(0/1)0%
(0/8)100%
(0/0)src69%
(20/29)69%
(20/29)45%
(1941/4317)31%
(828/2677)src.libkirigami88%
(7/8)88%
(7/8)68%
(641/937)50%
(229/455)src.scenegraph13%
(1/8)13%
(1/8)8%
(26/333)4%
(6/144)

KDE CI: Frameworks » kirigami » kf5-qt5 WindowsMSVCQt5.15 - Build # 458 - Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20WindowsMSVCQt5.15/458/
 Project:
kf5-qt5 WindowsMSVCQt5.15
 Date of build:
Sun, 05 Sep 2021 22:35:14 +
 Build duration:
1 min 43 sec and counting
   JUnit Tests
  Name: projectrootC_.CI.Job_Build Failed: 1 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: projectrootC_.CI.Job_Build.autotests.pagepool/tst_layers.qml

KDE CI: Frameworks » kirigami » kf5-qt5 FreeBSDQt5.15 - Build # 581 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20FreeBSDQt5.15/581/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 22:35:14 +
 Build duration:
49 sec and counting
   JUnit Tests
  Name: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515 Failed: 1 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515.autotests.pagepool/tst_layers.qml

Please include this in 5.86

2021-09-05 Thread Ahmad Samir

Fixes KMountPoint::findByPath():
https://invent.kde.org/frameworks/kio/-/commit/147193f5661173d24d75f6558e5607d3418f6c71

Thanks,
Ahmad Samir


KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1052 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1052/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 15:10:03 +
 Build duration:
6 min 4 sec and counting
   JUnit Tests
  Name: projectroot Failed: 2 test(s), Passed: 57 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

KDE CI: Frameworks » kio » kf5-qt5 SUSEQt5.15 - Build # 1044 - Fixed!

2021-09-05 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20SUSEQt5.15/1044/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 13:06:25 +
 Build duration:
12 min and counting
   BUILD ARTIFACTS
  acc/KF5KIO-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 0 test(s), Passed: 60 test(s), Skipped: 0 test(s), Total: 60 test(s)Name: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report61%
(25/41)69%
(294/424)69%
(294/424)58%
(39086/67165)42%
(21636/51471)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests95%
(60/63)95%
(60/63)91%
(11191/12257)46%
(7005/15339)autotests.http100%
(5/5)100%
(5/5)99%
(527/528)58%
(167/290)autotests.kcookiejar100%
(1/1)100%
(1/1)94%
(173/185)63%
(70/112)src100%
(1/1)100%
(1/1)89%
(8/9)71%
(10/14)src.core88%
(107/121)88%
(107/121)62%
(9447/15353)52%
(4674/8990)src.core.kssl100%
(1/1)100%
(1/1)39%
(34/87)50%
(3/6)src.filewidgets79%
(30/38)79%
(30/38)59%
(5296/9021)45%
(2274/5082)src.gui100%
(9/9)100%
(9/9)78%
(786/1004)59%
(410/696)src.gui.systemd50%
(2/4)50%
(2/4)4%
(7/177)1%
(1/108)src.ioslaves.file100%
(7/7)100%
(7/7)57%
(794/1390)43%
(514/1192)src.ioslaves.file.kauth0%
(0/2)0%
(0/2)0%
(0/184)0%
(0/89)src.ioslaves.ftp100%
(2/2)100%
(2/2)49%
(672/1385)37%
(536/1434)src.ioslaves.help0%
(0/5)0%
(0/5)0%
(0/251)0%
(0/148)src.ioslaves.http88%
(7/8)88%
(7/8)43%
(1872/4352)37%
(1359/3719)src.ioslaves.http.kcookiejar40%
(2/5)40%
(2/5)49%
(666/1365)56%
(590/1055)src.ioslaves.remote100%
(2/2)100%
(2/2)25%
(57/224)7%
  

KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1051 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1051/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 13:06:25 +
 Build duration:
6 min 52 sec and counting
   JUnit Tests
  Name: projectroot Failed: 3 test(s), Passed: 56 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.kiocore_jobtestFailed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

Re: Gitlab CI - Inbound

2021-09-05 Thread Nicolas Fella

On 05.09.21 08:13, Ben Cooksley wrote:

Hi all,

This morning after much work i'm happy to announce that the new
generation CI scripts intended for use with Gitlab CI successfully
completed their first build (of ECM, and then subsequently of
KCoreAddons).

This begins our first steps towards transferring CI over from Jenkins
to Gitlab.

These scripts are 'Gitlab native' and are designed to work in an
environment where they will be running on merge requests, tags as well
as all branches of our repositories - something the existing scripts
were completely incompatible with. While there are still some
infrastructural elements to put in place (such as 'seed jobs' to mass
rebuild all projects after substantial changes and 'cleanup jobs' to
remove old builds from the Package Registry) the core elements needed
for initial testing of these scripts are now ready.

For those curious, the results of those initials runs can be found at
https://invent.kde.org/groups/teams/ci-artifacts/-/packages


Due to the challenges associated with having to handle all of the
different forms of build and the versioning of this information, these
scripts also represent a radical change in how CI builds will be
conducted - with a large part of the configuration of the jobs
themselves, including information on project dependencies now shifting
to files located within the repository themselves. Those who monitor
commits to Frameworks repositories will have noticed the appearance of
these '.kde-ci.yml' files in some repositories.

To assist in the future rollout of the CI system it would be
appreciated if projects could please begin setting up these files
within their respective repositories.
You can find a template detailing the available options at
https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config-template.yml


Where possible please avoid overriding the system defaults except
where needed by your project (ie. don't just copy the template in full)
The defaults mirror the template and can be found at
https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config/global.yml


In terms of the format of the 'Dependencies' section, please bear in
mind the following:
- For the 'on' section, the special value '@all' can be used to mean
"All platforms" to avoid needing to update the file in the event
additional platforms are added in the future
- For the 'require' section:
  1) Please only include the projects you *explicitly* depend on.
Dependencies of your dependencies will be included automatically
  2) When specifying a project, you must use the repository path on
Gitlab. Legacy project paths (such as kde/workspace/plasma-desktop)
are no longer in use and will not work.
  3) There are three special values for the branch name - '@same',
'@latest' and '@stable' which can be used to refer to the branch/tag
of a dependency.
  '@same' means the branch name should be the same as that of the
project being built and should be used when declaring dependencies
among projects in a release group.
  '@latest' and '@stable' refer to the corresponding branches
defined in the branch-rules.yml file, which can be found in
sysadmin/repo-metadata

As a general rule, unless you require the absolute latest version of
another project in another release unit, it is recommended that you
use @stable.
Please avoid using explicit branch names unless absolutely necessary.

At this time it is expected that the first set of Gitlab CI builds
using the new scripts may be conducted for Frameworks within the next
week or so, assuming the build of the seed jobs goes according to plan.

Once the scripts have been proven successfully for Frameworks, we will
look at extending them to projects that depend only on Frameworks and
repositories within their release unit and finally will extend them to
projects with more complex dependency requirements. It is expected
that the switch will be flipped on the Frameworks builds sometime in
the next week or two.

Please let me know if you have any questions on the above.

Thanks,
Ben Cooksley
KDE Sysadmin


Hi Ben,

thanks for your work on this!

How would I best encode a dependency like "On Linux and FreeBSD depend
on kwayland, but not on Windows and macOS"?

Cheers

Nico





KDE CI: Frameworks » kquickcharts » kf5-qt5 WindowsMSVCQt5.15 - Build # 71 - Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kquickcharts/job/kf5-qt5%20WindowsMSVCQt5.15/71/
 Project:
kf5-qt5 WindowsMSVCQt5.15
 Date of build:
Sun, 05 Sep 2021 12:05:45 +
 Build duration:
37 min and counting
   JUnit Tests
  Name: projectroot Failed: 1 test(s), Passed: 3 test(s), Skipped: 0 test(s), Total: 4 test(s)Failed: projectroot.autotests.HistoryProxySourceTestName: projectrootC_.CI.Job_Build Failed: 0 test(s), Passed: 3 test(s), Skipped: 0 test(s), Total: 3 test(s)

KDE CI: Frameworks » kio » kf5-qt5 SUSEQt5.15 - Build # 1043 - Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20SUSEQt5.15/1043/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 12:04:08 +
 Build duration:
26 min and counting
   BUILD ARTIFACTS
  acc/KF5KIO-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 2 test(s), Passed: 58 test(s), Skipped: 0 test(s), Total: 60 test(s)Failed: projectroot.autotests.kiocore_threadtestFailed: projectroot.autotests.kiofilewidgets_kurlrequestertestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report61%
(25/41)69%
(292/424)69%
(292/424)58%
(38855/67144)42%
(21478/51435)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests92%
(58/63)92%
(58/63)90%
(11056/12247)45%
(6928/15303)autotests.http100%
(5/5)100%
(5/5)99%
(527/528)58%
(167/290)autotests.kcookiejar100%
(1/1)100%
(1/1)94%
(173/185)63%
(70/112)src100%
(1/1)100%
(1/1)89%
(8/9)71%
(10/14)src.core88%
(107/121)88%
(107/121)62%
(9459/15354)52%
(4670/8990)src.core.kssl100%
(1/1)100%
(1/1)39%
(34/87)50%
(3/6)src.filewidgets79%
(30/38)79%
(30/38)59%
(5296/9022)45%
(2271/5082)src.gui100%
(9/9)100%
(9/9)78%
(786/1004)59%
(410/696)src.gui.systemd50%
(2/4)50%
(2/4)4%
(7/177)1%
(1/108)src.ioslaves.file100%
(7/7)100%
(7/7)57%
(794/1390)43%
(514/1192)src.ioslaves.file.kauth0%
(0/2)0%
(0/2)0%
(0/184)0%
(0/89)src.ioslaves.ftp100%
(2/2)100%
(2/2)49%
(672/1385)37%
(536/1434)src.ioslaves.help0%
(0/5)0%
(0/5)0%
(0/251)0%
(0/148)src.ioslaves.http88%
(7/8)88%
(7/8)43%
(1872/4352)37%
(1359/3719)src.ioslaves.http.kcookiejar40%
(2/5)40%
(2/5)49%
(666/1365)56%
(590/1055)src.ioslaves.remote100%
(2/2)100%

KDE CI: Frameworks » kservice » kf5-qt5 FreeBSDQt5.15 - Build # 170 - Fixed!

2021-09-05 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kservice/job/kf5-qt5%20FreeBSDQt5.15/170/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 12:06:09 +
 Build duration:
22 min and counting
   JUnit Tests
  Name: projectroot Failed: 0 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 11 test(s)Name: projectroot.tests Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1050 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1050/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 12:04:08 +
 Build duration:
20 min and counting
   JUnit Tests
  Name: projectroot Failed: 3 test(s), Passed: 56 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.kiocore_jobtestFailed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

Re: Gitlab CI - Inbound

2021-09-05 Thread David Faure
On dimanche 5 septembre 2021 12:26:50 CEST Ben Cooksley wrote:
> On Sun, Sep 5, 2021 at 10:22 PM David Faure  wrote:
> > For frameworks, I think we should be able to write a one-time script that
> > generates .kde-ci.yml files using the dependencies listed in kde-build-
> > metadata (and the platforms listed in metainfo.yaml) ?
> 
> Yes, that should work nicely (although that information now lives in
> sysadmin/repo-metadata, dependencies folder)

All done for Frameworks.

The script that collects platforms from metainfo.yaml won't be useful for 
other KDE modules, but the script that collects deps from dependency-data-kf5-
qt5 is attached, in case it's useful to anyone else.

> Once we've transitioned across to the .kde-ci.yml files the existing
> dependency metadata and branch group files will no longer be required.
> (We'll need to work out a way of exporting this information for easy
> consumption by kdesrc-build and other clients before it can be removed
> though)

OK. Duplication is bad so I agree :)

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5


collect_deps.pl
Description: Perl program


KDE CI: Frameworks » kcrash » kf5-qt5 FreeBSDQt5.15 - Build # 93 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kcrash/job/kf5-qt5%20FreeBSDQt5.15/93/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 12:01:52 +
 Build duration:
10 min and counting
   JUnit Tests
  Name: projectroot Failed: 1 test(s), Passed: 2 test(s), Skipped: 0 test(s), Total: 3 test(s)Failed: projectroot.autotests.metadatatest

KDE CI: Frameworks » kwayland » kf5-qt5 SUSEQt5.15 - Build # 129 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kwayland/job/kf5-qt5%20SUSEQt5.15/129/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 11:34:58 +
 Build duration:
14 min and counting
   BUILD ARTIFACTS
  acc/KF5Wayland-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.autotests Failed: 1 test(s), Passed: 46 test(s), Skipped: 0 test(s), Total: 47 test(s)Failed: projectroot.autotests.client.kwayland_testWaylandRegistry
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report63%
(5/8)90%
(218/241)90%
(218/241)84%
(28389/33635)53%
(12801/24333)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.client100%
(43/43)100%
(43/43)99%
(13099/13168)50%
(8206/16317)autotests.server100%
(6/6)100%
(6/6)99%
(539/542)50%
(283/568)src.client97%
(72/74)97%
(72/74)83%
(6382/7673)64%
(1836/2880)src.compat100%
(2/2)100%
(2/2)100%
(78/78)100%
(0/0)src.server96%
(95/99)96%
(95/99)83%
(8291/9964)63%
(2476/3933)src.tools0%
(0/2)0%
(0/2)0%
(0/786)0%
(0/302)src.tools.testserver0%
(0/2)0%
(0/2)0%
(0/119)0%
(0/14)tests0%
(0/13)0%
(0/13)0%
(0/1305)0%
(0/319)

KDE CI: Frameworks » kwayland » kf5-qt5 FreeBSDQt5.15 - Build # 119 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kwayland/job/kf5-qt5%20FreeBSDQt5.15/119/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 11:34:58 +
 Build duration:
14 min and counting
   JUnit Tests
  Name: projectroot.autotests Failed: 13 test(s), Passed: 30 test(s), Skipped: 0 test(s), Total: 43 test(s)Failed: projectroot.autotests.client.kwayland_testCompositorFailed: projectroot.autotests.client.kwayland_testDataDeviceFailed: projectroot.autotests.client.kwayland_testDataSourceFailed: projectroot.autotests.client.kwayland_testRegionFailed: projectroot.autotests.client.kwayland_testShmPoolFailed: projectroot.autotests.client.kwayland_testSubCompositorFailed: projectroot.autotests.client.kwayland_testSubSurfaceFailed: projectroot.autotests.client.kwayland_testWaylandConnectionThreadFailed: projectroot.autotests.client.kwayland_testWaylandRegistryFailed: projectroot.autotests.client.kwayland_testWaylandShellFailed: projectroot.autotests.client.kwayland_testWaylandSurfaceFailed: projectroot.autotests.client.kwayland_testXdgShellStableFailed: projectroot.autotests.server.kwayland_testWaylandServerDisplay

KDE CI: Frameworks » kirigami » kf5-qt5 FreeBSDQt5.15 - Build # 580 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20FreeBSDQt5.15/580/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 11:34:48 +
 Build duration:
3 min 41 sec and counting
   JUnit Tests
  Name: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515 Failed: 1 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515.autotests.pagepool/tst_layers.qml

KDE CI: Frameworks » kirigami » kf5-qt5 WindowsMSVCQt5.15 - Build # 457 - Fixed!

2021-09-05 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20WindowsMSVCQt5.15/457/
 Project:
kf5-qt5 WindowsMSVCQt5.15
 Date of build:
Sun, 05 Sep 2021 11:34:48 +
 Build duration:
3 min 21 sec and counting
   JUnit Tests
  Name: projectrootC_.CI.Job_Build Failed: 0 test(s), Passed: 12 test(s), Skipped: 0 test(s), Total: 12 test(s)

KDE CI: Frameworks » kwayland » kf5-qt5 FreeBSDQt5.15 - Build # 118 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kwayland/job/kf5-qt5%20FreeBSDQt5.15/118/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 11:07:58 +
 Build duration:
20 min and counting
   JUnit Tests
  Name: projectroot.autotests Failed: 14 test(s), Passed: 29 test(s), Skipped: 0 test(s), Total: 43 test(s)Failed: projectroot.autotests.client.kwayland_testCompositorFailed: projectroot.autotests.client.kwayland_testDataDeviceFailed: projectroot.autotests.client.kwayland_testDataSourceFailed: projectroot.autotests.client.kwayland_testIdleFailed: projectroot.autotests.client.kwayland_testRegionFailed: projectroot.autotests.client.kwayland_testShmPoolFailed: projectroot.autotests.client.kwayland_testSubCompositorFailed: projectroot.autotests.client.kwayland_testSubSurfaceFailed: projectroot.autotests.client.kwayland_testWaylandConnectionThreadFailed: projectroot.autotests.client.kwayland_testWaylandRegistryFailed: projectroot.autotests.client.kwayland_testWaylandShellFailed: projectroot.autotests.client.kwayland_testWaylandSurfaceFailed: projectroot.autotests.client.kwayland_testXdgShellV5Failed: projectroot.autotests.server.kwayland_testWaylandServerDisplay

KDE CI: Frameworks » kirigami » kf5-qt5 FreeBSDQt5.15 - Build # 579 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kirigami/job/kf5-qt5%20FreeBSDQt5.15/579/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 11:07:28 +
 Build duration:
15 min and counting
   JUnit Tests
  Name: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515 Failed: 1 test(s), Passed: 11 test(s), Skipped: 0 test(s), Total: 12 test(s)Failed: projectroot.usr.home.jenkins.workspace.Frameworks.kirigami.kf5-qt5_FreeBSDQt515.autotests.pagepool/tst_layers.qml

KDE CI: Frameworks » kwayland » kf5-qt5 SUSEQt5.15 - Build # 128 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kwayland/job/kf5-qt5%20SUSEQt5.15/128/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 11:07:58 +
 Build duration:
12 min and counting
   BUILD ARTIFACTS
  acc/KF5Wayland-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.autotests Failed: 1 test(s), Passed: 46 test(s), Skipped: 0 test(s), Total: 47 test(s)Failed: projectroot.autotests.client.kwayland_testWaylandRegistry
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report63%
(5/8)90%
(218/241)90%
(218/241)84%
(28388/33635)53%
(12802/24333)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests.client100%
(43/43)100%
(43/43)99%
(13098/13168)50%
(8207/16317)autotests.server100%
(6/6)100%
(6/6)99%
(539/542)50%
(283/568)src.client97%
(72/74)97%
(72/74)83%
(6382/7673)64%
(1836/2880)src.compat100%
(2/2)100%
(2/2)100%
(78/78)100%
(0/0)src.server96%
(95/99)96%
(95/99)83%
(8291/9964)63%
(2476/3933)src.tools0%
(0/2)0%
(0/2)0%
(0/786)0%
(0/302)src.tools.testserver0%
(0/2)0%
(0/2)0%
(0/119)0%
(0/14)tests0%
(0/13)0%
(0/13)0%
(0/1305)0%
(0/319)

Re: Gitlab CI - Inbound

2021-09-05 Thread Ben Cooksley
On Sun, Sep 5, 2021 at 10:22 PM David Faure  wrote:

> On dimanche 5 septembre 2021 12:11:05 CEST Ben Cooksley wrote:
> > It would be appreciated if people could please work on getting these
> files
> > populated in Frameworks (as everyone needs those) as well as in their own
> > repositories as they are required before we can proceed much further.
>
> Like this
> https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/135 ?
>

Yes - just two small tweaks needed for that one but it is otherwise good to
ship.


> For frameworks, I think we should be able to write a one-time script that
> generates .kde-ci.yml files using the dependencies listed in kde-build-
> metadata (and the platforms listed in metainfo.yaml) ?
>

Yes, that should work nicely (although that information now lives in
sysadmin/repo-metadata, dependencies folder)

Once we've transitioned across to the .kde-ci.yml files the existing
dependency metadata and branch group files will no longer be required.
(We'll need to work out a way of exporting this information for easy
consumption by kdesrc-build and other clients before it can be removed
though)


> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
Thanks,
Ben


Re: Gitlab CI - Inbound

2021-09-05 Thread David Faure
On dimanche 5 septembre 2021 12:11:05 CEST Ben Cooksley wrote:
> It would be appreciated if people could please work on getting these files
> populated in Frameworks (as everyone needs those) as well as in their own
> repositories as they are required before we can proceed much further.

Like this https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/135 ?

For frameworks, I think we should be able to write a one-time script that 
generates .kde-ci.yml files using the dependencies listed in kde-build-
metadata (and the platforms listed in metainfo.yaml) ?

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





Re: Gitlab CI - Inbound

2021-09-05 Thread Ben Cooksley
On Sun, Sep 5, 2021 at 6:13 PM Ben Cooksley  wrote:

> Hi all,
>

Hi all,


> This morning after much work i'm happy to announce that the new generation
> CI scripts intended for use with Gitlab CI successfully completed their
> first build (of ECM, and then subsequently of KCoreAddons).
>
> This begins our first steps towards transferring CI over from Jenkins to
> Gitlab.
>
> These scripts are 'Gitlab native' and are designed to work in an
> environment where they will be running on merge requests, tags as well as
> all branches of our repositories - something the existing scripts were
> completely incompatible with. While there are still some infrastructural
> elements to put in place (such as 'seed jobs' to mass rebuild all projects
> after substantial changes and 'cleanup jobs' to remove old builds from the
> Package Registry) the core elements needed for initial testing of these
> scripts are now ready.
>

As an update, an initial version of the seed job tooling is now ready,
however testing that tooling requires that dependency information be
available.
This requires that the .kde-ci.yml files be populated in repositories.

It would be appreciated if people could please work on getting these files
populated in Frameworks (as everyone needs those) as well as in their own
repositories as they are required before we can proceed much further.


> For those curious, the results of those initials runs can be found at
> https://invent.kde.org/groups/teams/ci-artifacts/-/packages
>
> Due to the challenges associated with having to handle all of the
> different forms of build and the versioning of this information, these
> scripts also represent a radical change in how CI builds will be conducted
> - with a large part of the configuration of the jobs themselves, including
> information on project dependencies now shifting to files located within
> the repository themselves. Those who monitor commits to Frameworks
> repositories will have noticed the appearance of these '.kde-ci.yml' files
> in some repositories.
>
> To assist in the future rollout of the CI system it would be appreciated
> if projects could please begin setting up these files within their
> respective repositories.
> You can find a template detailing the available options at
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config-template.yml
>
> Where possible please avoid overriding the system defaults except where
> needed by your project (ie. don't just copy the template in full)
> The defaults mirror the template and can be found at
> https://invent.kde.org/sysadmin/ci-tooling/-/blob/work/bcooksley/gitlab-ci/config/global.yml
>
> In terms of the format of the 'Dependencies' section, please bear in mind
> the following:
> - For the 'on' section, the special value '@all' can be used to mean "All
> platforms" to avoid needing to update the file in the event additional
> platforms are added in the future
> - For the 'require' section:
>   1) Please only include the projects you *explicitly* depend on.
> Dependencies of your dependencies will be included automatically
>   2) When specifying a project, you must use the repository path on
> Gitlab. Legacy project paths (such as kde/workspace/plasma-desktop) are no
> longer in use and will not work.
>   3) There are three special values for the branch name - '@same',
> '@latest' and '@stable' which can be used to refer to the branch/tag of a
> dependency.
>   '@same' means the branch name should be the same as that of the
> project being built and should be used when declaring dependencies among
> projects in a release group.
>   '@latest' and '@stable' refer to the corresponding branches defined
> in the branch-rules.yml file, which can be found in sysadmin/repo-metadata
>
> As a general rule, unless you require the absolute latest version of
> another project in another release unit, it is recommended that you use
> @stable.
> Please avoid using explicit branch names unless absolutely necessary.
>
> At this time it is expected that the first set of Gitlab CI builds using
> the new scripts may be conducted for Frameworks within the next week or so,
> assuming the build of the seed jobs goes according to plan.
>
> Once the scripts have been proven successfully for Frameworks, we will
> look at extending them to projects that depend only on Frameworks and
> repositories within their release unit and finally will extend them to
> projects with more complex dependency requirements. It is expected that the
> switch will be flipped on the Frameworks builds sometime in the next week
> or two.
>
> Please let me know if you have any questions on the above.
>
> Thanks,
> Ben Cooksley
> KDE Sysadmin
>

Thanks,
Ben


KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1049 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1049/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 08:35:35 +
 Build duration:
4 min 12 sec and counting
   JUnit Tests
  Name: projectroot Failed: 4 test(s), Passed: 55 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.kiocore_jobtestFailed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestFailed: projectroot.autotests.kiowidgets_kfileitemactionstestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

KDE CI: Frameworks » kio » kf5-qt5 FreeBSDQt5.15 - Build # 1048 - Still Unstable!

2021-09-05 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20FreeBSDQt5.15/1048/
 Project:
kf5-qt5 FreeBSDQt5.15
 Date of build:
Sun, 05 Sep 2021 08:24:53 +
 Build duration:
10 min and counting
   JUnit Tests
  Name: projectroot Failed: 5 test(s), Passed: 54 test(s), Skipped: 0 test(s), Total: 59 test(s)Failed: projectroot.autotests.commandlauncherjob_forkingtestFailed: projectroot.autotests.kiocore_jobtestFailed: projectroot.autotests.kiocore_kmountpointtestFailed: projectroot.autotests.kiowidgets_kdirlistertestFailed: projectroot.autotests.kiowidgets_kfileitemactionstestName: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)

KDE CI: Frameworks » kio » kf5-qt5 SUSEQt5.15 - Build # 1041 - Fixed!

2021-09-05 Thread CI System
BUILD SUCCESS
 Build URL
https://build.kde.org/job/Frameworks/job/kio/job/kf5-qt5%20SUSEQt5.15/1041/
 Project:
kf5-qt5 SUSEQt5.15
 Date of build:
Sun, 05 Sep 2021 08:24:54 +
 Build duration:
10 min and counting
   BUILD ARTIFACTS
  acc/KF5KIO-5.86.0.xml
   JUnit Tests
  Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 0 test(s), Passed: 60 test(s), Skipped: 0 test(s), Total: 60 test(s)Name: projectroot.autotests Failed: 0 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 6 test(s)Name: projectroot.src.ioslaves.trash Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot.src.kpasswdserver Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)
   Cobertura Report
  
   Project Coverage Summary
  
   Name
  PackagesFilesClassesLinesConditionalsCobertura Coverage Report61%
(25/41)69%
(294/424)69%
(294/424)58%
(39088/67161)42%
(21635/51471)Coverage Breakdown by Package
Name
   FilesClassesLinesConditionalsautotests95%
(60/63)95%
(60/63)91%
(11191/12257)46%
(7000/15339)autotests.http100%
(5/5)100%
(5/5)99%
(527/528)58%
(167/290)autotests.kcookiejar100%
(1/1)100%
(1/1)94%
(173/185)63%
(70/112)src100%
(1/1)100%
(1/1)89%
(8/9)71%
(10/14)src.core88%
(107/121)88%
(107/121)62%
(9457/15354)52%
(4681/8990)src.core.kssl100%
(1/1)100%
(1/1)39%
(34/87)50%
(3/6)src.filewidgets79%
(30/38)79%
(30/38)59%
(5297/9021)45%
(2275/5082)src.gui100%
(9/9)100%
(9/9)78%
(786/1004)59%
(410/696)src.gui.systemd50%
(2/4)50%
(2/4)4%
(7/177)1%
(1/108)src.ioslaves.file100%
(7/7)100%
(7/7)57%
(794/1390)43%
(514/1192)src.ioslaves.file.kauth0%
(0/2)0%
(0/2)0%
(0/184)0%
(0/89)src.ioslaves.ftp100%
(2/2)100%
(2/2)49%
(672/1385)37%
(536/1434)src.ioslaves.help0%
(0/5)0%
(0/5)0%
(0/251)0%
(0/148)src.ioslaves.http88%
(7/8)88%
(7/8)43%
(1872/4352)37%
(1359/3719)src.ioslaves.http.kcookiejar40%
(2/5)40%
(2/5)49%
(666/1365)56%
(590/1055)src.ioslaves.remote100%
(2/2)100%
(2/2)25%
(57/224)7%