Bug 360701

Summary: There is no nightly binaries to check the state of the current 'dev' version
Product: [Applications] umbrello Reporter: Xtra Coder <xtracoder>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: okellogg, ralf.habacker
Priority: NOR    
Version: 2.18.2 (KDE Applications 15.12.2)   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Xtra Coder 2016-03-18 11:39:44 UTC
I'm willing to check if bugs reported recently are fixed. Currently i see the only way to do this - build local version from sources, but preparing build environment is a rather complicated step, especially on Windows.

It would be nice to have some place were latest/nightly build can be downloaded (like NetBeans provides here http://bits.netbeans.org/download/trunk/nightly/latest/). Something similar I see for umbrello is here http://download.kde.org/unstable/umbrello/2.16.99/ - but the 'latest' version is from half year ago (15-Jul-2015).


Reproducible: Always
Comment 1 Ralf Habacker 2016-03-19 20:51:34 UTC
You took a look at the section "Umbrello continuous build status" at  https://umbrello.kde.org/developers.php ?
Comment 2 Xtra Coder 2016-03-20 22:19:25 UTC
No, i didn't see that section. I checked it now and only see links to Jenkins where i can see status of the builds, but i can't see where i can download binaries generated from these builds. Am i missing something?
Comment 3 Ralf Habacker 2016-03-22 10:04:53 UTC
(In reply to Xtra Coder from comment #2)
> No, i didn't see that section. I checked it now and only see links to
> Jenkins where i can see status of the builds, but i can't see where i can
> download binaries generated from these builds. Am i missing something?
jenkins installs an deploys binaries, see for example https://build.kde.org/job/umbrello%20Applications-16.04%20stable-qt4/PLATFORM=Linux,compiler=gcc/2/consoleText.
Maybe it is possible to get binaries on request or to customize/extend jenkins to be able to fetch binaries from a build.
Comment 4 Oliver Kellogg 2016-03-23 20:03:13 UTC
(In reply to Ralf Habacker from comment #3)
> (In reply to Xtra Coder from comment #2)
> > No, i didn't see that section. I checked it now and only see links to
> > Jenkins where i can see status of the builds, but i can't see where i can
> > download binaries generated from these builds. Am i missing something?
> jenkins installs an deploys binaries, see for example
> https://build.kde.org/job/umbrello%20Applications-16.04%20stable-qt4/
> PLATFORM=Linux,compiler=gcc/2/consoleText.
> Maybe it is possible to get binaries on request or to customize/extend
> jenkins to be able to fetch binaries from a build.

I logged in to Jenkins and manually triggered a build of master, see
   https://build.kde.org/job/umbrello%20master%20latest-qt4/1/
bug it failed. The console output ends as follows:

19:44:47 Strings match run condition: string 1=[], string 2=[gcc]
19:44:47 Run condition [Strings match] preventing perform for step [Builder to mark whether executed]
19:44:47 Triggering umbrello master latest-qt4 » Linux,gcc
19:45:22 umbrello master latest-qt4 » Linux,gcc completed with result FAILURE
19:45:22 Finished: FAILURE

I cannot find how to configure the strings of the "run condition".
Comment 5 Ralf Habacker 2016-03-23 20:10:10 UTC
Problems with jenkins need  to be reported through https://sysadmin.kde.org/tickets/index.php
Comment 6 Oliver Kellogg 2016-03-28 07:49:11 UTC
(In reply to Ralf Habacker from comment #5)
> Problems with jenkins need  to be reported through
> https://sysadmin.kde.org/tickets/index.php

Thanks, I did that and posted a ticket with subject "Umbrello - deployment of nightly build" and contents "Is it possible to download binaries (or rather, installations e.g. via tar file) produced by the nightly builds?"
The reply is as follows:
> The binaries produced by the CI system would be very specific to the CI system environment,
> and would require you use the same distribution, set of repositories, etc.
> Are you after particular platforms here?

Makes sense to me. Seems like an unlikely coincidence if the Jenkins build system's environment happened to match my own environment.
Comment 7 Xtra Coder 2016-03-28 14:04:58 UTC
I'm not sure I understand what is "binaries produced by the CI system would be very specific to the CI system environment" ...

Firstly, I am, personally, interested in Windows binaries (x32 or x64). As far as I know, the only 'specific' binding windows binaries may have is linking to specific versions of shared DLLs (msvcrt.dll or similar). I do not see a problem with that (as the end user). 

Anyway, I expect binaries available here (http://download.kde.org/stable/umbrello/latest/) are not built "by hand". If this process is automated - same process can be executed on a nightly basis in Jenkins. It will keep all the same 'specific' requirements that are already published to end user.

I'm not much familiar with *nix systems. Most probably the same is applicable to *nix releases too.
Comment 8 Oliver Kellogg 2016-03-29 19:30:02 UTC
It appears that Windows binaries are less environment sensitive.
With Linux, attention must be paid to the exact versions of libc.so, libgcc.so, libstdc++.so, and many more.
Here is a further reply from the sysadmin.kde.org ticket that I had opened:

> Unfortunately we don't provide Win32 binaries at this stage - the system only performs CI
> compilation for Linux at this stage.
> 
> Adding Windows (and Mac) support to the CI is something which is on the todo list, but has
> yet to be implemented i'm afraid. We therefore can't do much to help them here until that is
> implemented. When it is done, we will probably consider publishing the binaries.
Comment 9 Ralf Habacker 2016-03-30 06:33:37 UTC
(In reply to Xtra Coder from comment #7)
> I'm not sure I understand what is "binaries produced by the CI system would
> be very specific to the CI system environment" ...
> 
> Firstly, I am, personally, interested in Windows binaries (x32 or x64). As
> far as I know, the only 'specific' binding windows binaries may have is
> linking to specific versions of shared DLLs (msvcrt.dll or similar). I do
> not see a problem with that (as the end user). 
There are several KDE, Qt and win32 based libraries required to get umbrello to run. See the portable package a [1].

> Anyway, I expect binaries available here (http://download.kde.org/stable/umbrello/latest/) [1] are not built "by hand".
They are cross compiled on the openuse build service (see https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-umbrello and packaged with https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-umbrello-installer). 
Releasing package at the mentioned url are performed by a KDE  "tarball move request"  sysadmin ticket.
Comment 10 Xtra Coder 2016-03-30 10:10:21 UTC
Ok, as far as I see - "nightly binaries" are doable, but current infrastructure is not ready for this and some actions are already in "TODO" list. So - I'll just will keep waiting.
Comment 11 Oliver Kellogg 2022-12-29 11:56:41 UTC
Nightly Windows binaries of umbrello git master builds are at
https://binary-factory.kde.org/job/Umbrello_Nightly_win64/