Re: Using test distribution & Apache's Jenkins pipelines

2021-10-16 Thread Eric Bresie
Would having some sort of "test matrix" to show where different parts of
build testing is currently (i.e. some current done in GA, is travis, in
jenkins) be worth wild?

Eric Bresie
ebre...@gmail.com


On Tue, Oct 12, 2021 at 11:41 PM Jaroslav Tulach 
wrote:

> Dne čtvrtek 7. října 2021 18:36:29 CEST, Michael Bien napsal(a):
> > On 07.10.21 08:30, Jaroslav Tulach wrote:
> > >> So, what specifically needs to be done?
> > >
> > > #1 from my perspective: We need support for build pipelines. In
> particular
> > >
> > > ```
> > > var ide = buildIDEZip();
> > > var testDist = buildTestDistributionZip();
> > >
> > > var moduleSet = [ "platform", "ide", "hints1", "hints2" ];
> > > var jdkSet = [ "jdk8", "jdk11", "jdk17", "jdk-latest" ];
> > >
> > > new ForkJoinPool("many parallel executors") (module, jdk) {
> > >
> > > setup jdk
> > >
> > > unzip ide
> > > unzip testDist
> > >
> > > teste module
> > >
> > > }
> > > ```
> > >
> > > Can that be implemented (easily) in Travis? Not likely. Can that be
> > > implemented easily in GitHub actions (that'd be great, but I doubt).
> >
> > i think one way of doing this with gh actions is to zip the build and
> > upload it as artifact. Subsequent jobs in the pipeline would use that
> > artifact and continue from there.
> >
> >
> https://docs.github.com/en/actions/learn-github-actions/essential-features-o
> > f-github-actions#sharing-data-between-jobs
> >
> > having artifacts would also mitigate the issue of being able to access
> > test results, if they don't end up in the console for whatever reason.
>
> It would be great to reconfigure the GitHub actions to do the build of IDE
> ZIP
> and test distribution ZIP only once.
> -jt
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Using test distribution & Apache's Jenkins pipelines

2021-10-12 Thread Jaroslav Tulach
Dne čtvrtek 7. října 2021 18:36:29 CEST, Michael Bien napsal(a):
> On 07.10.21 08:30, Jaroslav Tulach wrote:
> >> So, what specifically needs to be done?
> > 
> > #1 from my perspective: We need support for build pipelines. In particular
> > 
> > ```
> > var ide = buildIDEZip();
> > var testDist = buildTestDistributionZip();
> > 
> > var moduleSet = [ "platform", "ide", "hints1", "hints2" ];
> > var jdkSet = [ "jdk8", "jdk11", "jdk17", "jdk-latest" ];
> > 
> > new ForkJoinPool("many parallel executors") (module, jdk) {
> > 
> > setup jdk
> > 
> > unzip ide
> > unzip testDist
> > 
> > teste module
> > 
> > }
> > ```
> > 
> > Can that be implemented (easily) in Travis? Not likely. Can that be
> > implemented easily in GitHub actions (that'd be great, but I doubt).
> 
> i think one way of doing this with gh actions is to zip the build and
> upload it as artifact. Subsequent jobs in the pipeline would use that
> artifact and continue from there.
> 
> https://docs.github.com/en/actions/learn-github-actions/essential-features-o
> f-github-actions#sharing-data-between-jobs
> 
> having artifacts would also mitigate the issue of being able to access
> test results, if they don't end up in the console for whatever reason.

It would be great to reconfigure the GitHub actions to do the build of IDE ZIP 
and test distribution ZIP only once.
-jt




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Using test distribution & Apache's Jenkins pipelines

2021-10-07 Thread Michael Bien

On 07.10.21 08:30, Jaroslav Tulach wrote:

So, what specifically needs to be done?

#1 from my perspective: We need support for build pipelines. In particular

```
var ide = buildIDEZip();
var testDist = buildTestDistributionZip();

var moduleSet = [ "platform", "ide", "hints1", "hints2" ];
var jdkSet = [ "jdk8", "jdk11", "jdk17", "jdk-latest" ];

new ForkJoinPool("many parallel executors") (module, jdk) {
setup jdk

unzip ide
unzip testDist

teste module
}
```

Can that be implemented (easily) in Travis? Not likely. Can that be
implemented easily in GitHub actions (that'd be great, but I doubt).


i think one way of doing this with gh actions is to zip the build and 
upload it as artifact. Subsequent jobs in the pipeline would use that 
artifact and continue from there.


https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions#sharing-data-between-jobs

having artifacts would also mitigate the issue of being able to access 
test results, if they don't end up in the console for whatever reason.


-mbien


  Can that
be implemented in `Jenkinsfile`? Probably.

Can somebody prototype it? That'd be great.
-jt





-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Using test distribution & Apache's Jenkins pipelines

2021-10-07 Thread Neil C Smith
On Thu, 7 Oct 2021 at 10:56, Eric Barboni  wrote:
> I would prefer to go to Apache Jenkins,
>
> The aim here is not  for PR validation it's more a "nightly" verification ?
...
> My "release manager" POV on why jenkins for that particular aspect.
>
> (I'm not against travis (I prefer it grn :D)  or github action. GA may 
> have some limitation, AFAIK Airflow own private repo on github to make their 
> workflow.)

Yes, think we'd all prefer those be grn! :-)

I think we have to be careful with our CI usage, on whatever platform.
And it might be time to consider dropping Travis - interesting stuff
from Airflow around all this, eg. at
https://cwiki.apache.org/confluence/display/INFRA/Github+Actions+to+DockerHub

GitHub Actions also gives us the widest OS coverage?

My thought would be -

* Migrate important and stable tests to GitHub Actions for PR validation.
* Drop Travis CI.
* Switch on option for tests to pass before PR merge is enabled.
* Look at a nightly verification step on Jenkins for wider testing,
making sure we have good reporting from it.
* Be more proactive about reverting problem PRs (eg. revert, fix,
re-review rather than fix in place in most cases).

2c

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





RE: Using test distribution & Apache's Jenkins pipelines

2021-10-07 Thread Eric Barboni
I would prefer to go to Apache Jenkins,

The aim here is not  for PR validation it's more a "nightly" verification ?

Will try to prototype but not sure on how to use the test distribution.

--
My "release manager" POV on why jenkins for that particular aspect.

(I'm not against travis (I prefer it grn :D)  or github action. GA may have 
some limitation, AFAIK Airflow own private repo on github to make their 
workflow.)

It's just that for release we bake the bits on Apache Jenkins with no 
"test-platform". We assume travis is ok and netbeans-linux almost ok.
But on netbeans-linux, netbeans-windows on jenkins we have issue we do not have 
 on travis.
Example: (more on windows build)
On travis , my own wsl box: the following issue doesn't occurs [1] , 
https://github.com/apache/netbeans/pull/3205. Seems related on how the xml is 
generated on the jenkins node.


Best Regards
Eric

[1]
https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastCompletedBuild/testReport/org.openide.filesystems.annotations/LayerBuilderTest/testSourcePath/

-Message d'origine-
De : Jaroslav Tulach  
Envoyé : jeudi 7 octobre 2021 08:30
À : Netbeans Developer List 
Cc : Zajac Petr 
Objet : Re: Using test distribution & Apache's Jenkins pipelines

> So, what specifically needs to be done?

#1 from my perspective: We need support for build pipelines. In particular

```
var ide = buildIDEZip();
var testDist = buildTestDistributionZip();

var moduleSet = [ "platform", "ide", "hints1", "hints2" ]; var jdkSet = [ 
"jdk8", "jdk11", "jdk17", "jdk-latest" ];

new ForkJoinPool("many parallel executors") (module, jdk) {
   setup jdk

   unzip ide
   unzip testDist

   teste module
}
```

Can that be implemented (easily) in Travis? Not likely. Can that be implemented 
easily in GitHub actions (that'd be great, but I doubt). Can that be 
implemented in `Jenkinsfile`? Probably.

Can somebody prototype it? That'd be great.
-jt


Dne neděle 26. září 2021 19:01:03 CEST, Eric Bresie napsal(a):
> I know there have been discussions in the past on CI builds issues 
> like [1], [2]. [3], [4], [5], "Build Strategies" [6], and time on the 
> builds [7] but...
> 
> It seems some build jobs are done on GitHub commits, Travis CI, 
> Jenkins, etc.  Assume some of this is dependent on the type of jobs 
> and tests (OS or capability focus), and the infrastructure and 
> available resources involved (i.e. Apache CI-Jenkins across Apache 
> projects, GitHub build [across apache projects], Travis CI [assume 
> constrained in some way]).
> 
> So, what specifically needs to be done?
> 
> Do the types of jobs need to be grouped and run by intent/needs in an 
> applicable CI environment?
> Do the types of jobs need to be migrated into a single place (i.e. 
> Github, Travis, Jenkins, etc.)?
> 
> Eric Bresie
> ebre...@gmail.com
> 
> References
> [1]
> https://lists.apache.org/thread.html/r944d5e9e79b6abdf9337293f417c3b51
> 229e8b 7d7989833028328359%40%3Cdev.netbeans.apache.org%3E [2]
> https://lists.apache.org/thread.html/rcddd3063fb087fb894eeea38b6c555c8
> 02c441 2e15a27ada1b4dccbe%40%3Cdev.netbeans.apache.org%3E [3] 
> https://lists.apache.org/thread.html/r3d55f95ee5dc6383a4330ee2cf4cf987
> 85149d f461063330bd1cb535%40%3Cdev.netbeans.apache.org%3E [4] 
> https://lists.apache.org/thread.html/r7937df039aea7254d6d6f0847e47a1bb
> 3f14ee 603d97bed58e8f7ccc%40%3Cdev.netbeans.apache.org%3E [5] 
> https://lists.apache.org/thread.html/r22e89737af4b1c0808d6f06385e5fd00
> c37a6b 435e7a81cf06619501%40%3Cdev.netbeans.apache.org%3E [6]
> https://lists.apache.org/thread.html/rcdcb7a718c01fec2796bdb472e979a89
> 00c346 efb9aebcc6024e31b9%40%3Cdev.netbeans.apache.org%3E [7]
> https://lists.apache.org/thread.html/r8694f9ca65746542f1ee1c73c219f17a
> cea5a5 27f5809d5c68394de6%40%3Cdev.netbeans.apache.org%3E
> 
> On Sat, Sep 25, 2021 at 1:52 AM Jaroslav Tulach 
> 
> 
> wrote:
> > Dne pátek 24. září 2021 17:25:39 CEST, Eric Barboni napsal(a):
> > > Hi,
> > > 
> > > I juste retrieved an old mail for Jaroslav.
> > 
> > ;-)
> > 
> > > I'm a bit "irritated" because of
> > > CI. I'm haunted  by the "restart job button".
> > 
> > I can live with the "restart button", but I agree: Such frequent 
> > failures aren't professional.
> > 
> > > Is a only Apache jenkins build + PR review something we can do ?
> > > or would we have some limitation and should rely also on GA or 
> > > travis
> > 
> > too?
> > 
> > > Hector started something 
> > > https://github.com/apache/netbeans/pull/2443
> > 
> > to do
> > 
> > >

Re: Using test distribution & Apache's Jenkins pipelines

2021-10-07 Thread Jaroslav Tulach
> So, what specifically needs to be done?

#1 from my perspective: We need support for build pipelines. In particular

```
var ide = buildIDEZip();
var testDist = buildTestDistributionZip();

var moduleSet = [ "platform", "ide", "hints1", "hints2" ];
var jdkSet = [ "jdk8", "jdk11", "jdk17", "jdk-latest" ];

new ForkJoinPool("many parallel executors") (module, jdk) {
   setup jdk

   unzip ide
   unzip testDist

   teste module  
}
```

Can that be implemented (easily) in Travis? Not likely. Can that be 
implemented easily in GitHub actions (that'd be great, but I doubt). Can that 
be implemented in `Jenkinsfile`? Probably.

Can somebody prototype it? That'd be great.
-jt


Dne neděle 26. září 2021 19:01:03 CEST, Eric Bresie napsal(a):
> I know there have been discussions in the past on CI builds issues like
> [1], [2]. [3], [4], [5], "Build Strategies" [6], and time on the builds [7]
> but...
> 
> It seems some build jobs are done on GitHub commits, Travis CI, Jenkins,
> etc.  Assume some of this is dependent on the type of jobs and tests (OS or
> capability focus), and the infrastructure and available resources involved
> (i.e. Apache CI-Jenkins across Apache projects, GitHub build [across apache
> projects], Travis CI [assume constrained in some way]).
> 
> So, what specifically needs to be done?
> 
> Do the types of jobs need to be grouped and run by intent/needs in an
> applicable CI environment?
> Do the types of jobs need to be migrated into a single place (i.e. Github,
> Travis, Jenkins, etc.)?
> 
> Eric Bresie
> ebre...@gmail.com
> 
> References
> [1]
> https://lists.apache.org/thread.html/r944d5e9e79b6abdf9337293f417c3b51229e8b
> 7d7989833028328359%40%3Cdev.netbeans.apache.org%3E [2]
> https://lists.apache.org/thread.html/rcddd3063fb087fb894eeea38b6c555c802c441
> 2e15a27ada1b4dccbe%40%3Cdev.netbeans.apache.org%3E [3]
> https://lists.apache.org/thread.html/r3d55f95ee5dc6383a4330ee2cf4cf98785149d
> f461063330bd1cb535%40%3Cdev.netbeans.apache.org%3E [4]
> https://lists.apache.org/thread.html/r7937df039aea7254d6d6f0847e47a1bb3f14ee
> 603d97bed58e8f7ccc%40%3Cdev.netbeans.apache.org%3E [5]
> https://lists.apache.org/thread.html/r22e89737af4b1c0808d6f06385e5fd00c37a6b
> 435e7a81cf06619501%40%3Cdev.netbeans.apache.org%3E [6]
> https://lists.apache.org/thread.html/rcdcb7a718c01fec2796bdb472e979a8900c346
> efb9aebcc6024e31b9%40%3Cdev.netbeans.apache.org%3E [7]
> https://lists.apache.org/thread.html/r8694f9ca65746542f1ee1c73c219f17acea5a5
> 27f5809d5c68394de6%40%3Cdev.netbeans.apache.org%3E
> 
> On Sat, Sep 25, 2021 at 1:52 AM Jaroslav Tulach 
> 
> wrote:
> > Dne pátek 24. září 2021 17:25:39 CEST, Eric Barboni napsal(a):
> > > Hi,
> > > 
> > > I juste retrieved an old mail for Jaroslav.
> > 
> > ;-)
> > 
> > > I'm a bit "irritated" because of
> > > CI. I'm haunted  by the "restart job button".
> > 
> > I can live with the "restart button", but I agree: Such frequent failures
> > aren't professional.
> > 
> > > Is a only Apache jenkins build + PR review something we can do ?
> > > or would we have some limitation and should rely also on GA or travis
> > 
> > too?
> > 
> > > Hector started something https://github.com/apache/netbeans/pull/2443
> > 
> > to do
> > 
> > > jenkins PR test.
> > > 
> > > BUT on jenkins
> > > This build trigger test error:
> > > https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/
> > > ant build test-platform build-nbms generate-uc-catalog build-source-zips
> > > => 1 issue on
> > > org.openide.filesystems.annotations.LayerBuilderTest.testSourcePath The
> > > same ant call on my ubuntu
> > > => 0 issue
> > > 
> > > Complicated to trust jenkins too.
> > > But I would like to see the CI issues tackled so Release
> > 
> > Manager,commiter,
> > 
> > > reviewers may have better life :D. --
> > 
> > +1
> > 
> > My original may was however about "test distribution" - e.g. build the IDE
> > and
> > the test distribution once, and then use it for running the tests across
> > different nodes.
> > 
> > Yes, Jenkins pipelines (on Apache own infra) would be ideal for that I
> > think.
> > -jt
> > 
> > > -Message d'origine-
> > > De : Jaroslav Tulach 
> > > Envoyé : lundi 26 avril 2021 06:16
> > > À : dev@netbeans.apache.org
> > > Cc : Petr Zajac 
> > > Objet : Using test distribution &

Re: Using test distribution & Apache's Jenkins pipelines was: Time it takes for Test PHP Cluster

2021-09-26 Thread Eric Bresie
I know there have been discussions in the past on CI builds issues like
[1], [2]. [3], [4], [5], "Build Strategies" [6], and time on the builds [7]
but...

It seems some build jobs are done on GitHub commits, Travis CI, Jenkins,
etc.  Assume some of this is dependent on the type of jobs and tests (OS or
capability focus), and the infrastructure and available resources involved
(i.e. Apache CI-Jenkins across Apache projects, GitHub build [across apache
projects], Travis CI [assume constrained in some way]).

So, what specifically needs to be done?

Do the types of jobs need to be grouped and run by intent/needs in an
applicable CI environment?
Do the types of jobs need to be migrated into a single place (i.e. Github,
Travis, Jenkins, etc.)?

Eric Bresie
ebre...@gmail.com

References
[1]
https://lists.apache.org/thread.html/r944d5e9e79b6abdf9337293f417c3b51229e8b7d7989833028328359%40%3Cdev.netbeans.apache.org%3E
[2]
https://lists.apache.org/thread.html/rcddd3063fb087fb894eeea38b6c555c802c4412e15a27ada1b4dccbe%40%3Cdev.netbeans.apache.org%3E
[3]
https://lists.apache.org/thread.html/r3d55f95ee5dc6383a4330ee2cf4cf98785149df461063330bd1cb535%40%3Cdev.netbeans.apache.org%3E
[4]
https://lists.apache.org/thread.html/r7937df039aea7254d6d6f0847e47a1bb3f14ee603d97bed58e8f7ccc%40%3Cdev.netbeans.apache.org%3E
[5]
https://lists.apache.org/thread.html/r22e89737af4b1c0808d6f06385e5fd00c37a6b435e7a81cf06619501%40%3Cdev.netbeans.apache.org%3E
[6]
https://lists.apache.org/thread.html/rcdcb7a718c01fec2796bdb472e979a8900c346efb9aebcc6024e31b9%40%3Cdev.netbeans.apache.org%3E
[7]
https://lists.apache.org/thread.html/r8694f9ca65746542f1ee1c73c219f17acea5a527f5809d5c68394de6%40%3Cdev.netbeans.apache.org%3E

On Sat, Sep 25, 2021 at 1:52 AM Jaroslav Tulach 
wrote:

> Dne pátek 24. září 2021 17:25:39 CEST, Eric Barboni napsal(a):
> > Hi,
> >
> > I juste retrieved an old mail for Jaroslav.
>
> ;-)
>
> > I'm a bit "irritated" because of
> > CI. I'm haunted  by the "restart job button".
>
> I can live with the "restart button", but I agree: Such frequent failures
> aren't professional.
>
> > Is a only Apache jenkins build + PR review something we can do ?
> > or would we have some limitation and should rely also on GA or travis
> too?
> >
> >
> > Hector started something https://github.com/apache/netbeans/pull/2443
> to do
> > jenkins PR test.
> >
> > BUT on jenkins
> > This build trigger test error:
> > https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/
> > ant build test-platform build-nbms generate-uc-catalog build-source-zips
> > => 1 issue on
> > org.openide.filesystems.annotations.LayerBuilderTest.testSourcePath The
> > same ant call on my ubuntu
> > => 0 issue
> >
> > Complicated to trust jenkins too.
> > But I would like to see the CI issues tackled so Release
> Manager,commiter,
> > reviewers may have better life :D. --
>
> +1
>
> My original may was however about "test distribution" - e.g. build the IDE
> and
> the test distribution once, and then use it for running the tests across
> different nodes.
>
> Yes, Jenkins pipelines (on Apache own infra) would be ideal for that I
> think.
> -jt
>
>
>
> > -Message d'origine-
> > De : Jaroslav Tulach 
> > Envoyé : lundi 26 avril 2021 06:16
> > À : dev@netbeans.apache.org
> > Cc : Petr Zajac 
> > Objet : Using test distribution & Apache's Jenkins pipelines was: Time it
> > takes for Test PHP Cluster
> > Dne pátek 16. dubna 2021 18:53:31 CEST, Tomáš Procházka napsal(a):
> > > I stareted conversion of other jobs
> > > (https://github.com/apache/netbeans/pull/2708) but stopped given
> > > current status of Github Actions
> > > (https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+sta
> > > tus)
> >
> > Hello guys,
> > maybe there is a time to improve the structure of build jobs and to
> increase
> > the throughput by eliminating duplicated tasks.
> >
> > These days every job builds the IDE, builds the tests and then it
> executes
> > some tests. We can do better than that! There has been a "test
> > distribution" in NetBeans for years and according to its creator Petr
> > Zajac, it is still working!
> >
> > It would be good to have one job that builds the ZIP of the IDE and
> builds
> > the ZIP for the test distribution. Only then other "testing" jobs are
> > started, download the two ZIP files and use them to perform the tests
> only.
> >
> > Btw. When at it, shouldn't we consider to use
> https://ci-builds.apache.org/
> > ? It is an infra

Re: Using test distribution & Apache's Jenkins pipelines was: Time it takes for Test PHP Cluster

2021-09-25 Thread Jaroslav Tulach
Dne pátek 24. září 2021 17:25:39 CEST, Eric Barboni napsal(a):
> Hi,
> 
> I juste retrieved an old mail for Jaroslav. 

;-)

> I'm a bit "irritated" because of
> CI. I'm haunted  by the "restart job button".

I can live with the "restart button", but I agree: Such frequent failures 
aren't professional.

> Is a only Apache jenkins build + PR review something we can do ?
> or would we have some limitation and should rely also on GA or travis too?
> 
> 
> Hector started something https://github.com/apache/netbeans/pull/2443 to do
> jenkins PR test.
> 
> BUT on jenkins
> This build trigger test error:
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/
> ant build test-platform build-nbms generate-uc-catalog build-source-zips
> => 1 issue on
> org.openide.filesystems.annotations.LayerBuilderTest.testSourcePath The
> same ant call on my ubuntu
> => 0 issue
> 
> Complicated to trust jenkins too.
> But I would like to see the CI issues tackled so Release Manager,commiter,
> reviewers may have better life :D. --

+1

My original may was however about "test distribution" - e.g. build the IDE and 
the test distribution once, and then use it for running the tests across 
different nodes.

Yes, Jenkins pipelines (on Apache own infra) would be ideal for that I think.
-jt



> -Message d'origine-
> De : Jaroslav Tulach 
> Envoyé : lundi 26 avril 2021 06:16
> À : dev@netbeans.apache.org
> Cc : Petr Zajac 
> Objet : Using test distribution & Apache's Jenkins pipelines was: Time it
> takes for Test PHP Cluster
> Dne pátek 16. dubna 2021 18:53:31 CEST, Tomáš Procházka napsal(a):
> > I stareted conversion of other jobs
> > (https://github.com/apache/netbeans/pull/2708) but stopped given
> > current status of Github Actions
> > (https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+sta
> > tus)
> 
> Hello guys,
> maybe there is a time to improve the structure of build jobs and to increase
> the throughput by eliminating duplicated tasks.
> 
> These days every job builds the IDE, builds the tests and then it executes
> some tests. We can do better than that! There has been a "test
> distribution" in NetBeans for years and according to its creator Petr
> Zajac, it is still working!
> 
> It would be good to have one job that builds the ZIP of the IDE and builds
> the ZIP for the test distribution. Only then other "testing" jobs are
> started, download the two ZIP files and use them to perform the tests only.
> 
> Btw. When at it, shouldn't we consider to use https://ci-builds.apache.org/
> ? It is an infrastructure that fully runs on Apache's hardware - e.g. we
> aren't going to be influenced deals with external providers like Travis or
> Azure. Moreover Jenkins supports pipelines to pass the ZIPs from one job to
> another...
> 
> Together we can save the planet!
> -jt
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





RE: Using test distribution & Apache's Jenkins pipelines was: Time it takes for Test PHP Cluster

2021-09-24 Thread Eric Barboni
Hi,

I juste retrieved an old mail for Jaroslav. I'm a bit "irritated" because of 
CI. I'm haunted  by the "restart job button".

Is a only Apache jenkins build + PR review something we can do ?
or would we have some limitation and should rely also on GA or travis too?


Hector started something https://github.com/apache/netbeans/pull/2443 to do 
jenkins PR test.

BUT on jenkins
This build trigger test error:
https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/
ant build test-platform build-nbms generate-uc-catalog build-source-zips 
=> 1 issue on 
org.openide.filesystems.annotations.LayerBuilderTest.testSourcePath
The same ant call on my ubuntu
=> 0 issue

Complicated to trust jenkins too. 
But I would like to see the CI issues tackled so Release Manager,commiter, 
reviewers may have better life :D.
--

Best Regards
Eric


-Message d'origine-
De : Jaroslav Tulach  
Envoyé : lundi 26 avril 2021 06:16
À : dev@netbeans.apache.org
Cc : Petr Zajac 
Objet : Using test distribution & Apache's Jenkins pipelines was: Time it takes 
for Test PHP Cluster

Dne pátek 16. dubna 2021 18:53:31 CEST, Tomáš Procházka napsal(a):
> I stareted conversion of other jobs
> (https://github.com/apache/netbeans/pull/2708) but stopped given 
> current status of Github Actions
> (https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+sta
> tus)

Hello guys,
maybe there is a time to improve the structure of build jobs and to increase 
the throughput by eliminating duplicated tasks.

These days every job builds the IDE, builds the tests and then it executes some 
tests. We can do better than that! There has been a "test distribution" 
in NetBeans for years and according to its creator Petr Zajac, it is still 
working!

It would be good to have one job that builds the ZIP of the IDE and builds the 
ZIP for the test distribution. Only then other "testing" jobs are started, 
download the two ZIP files and use them to perform the tests only.

Btw. When at it, shouldn't we consider to use https://ci-builds.apache.org/ ? 
It is an infrastructure that fully runs on Apache's hardware - e.g. we aren't 
going to be influenced deals with external providers like Travis or Azure. 
Moreover Jenkins supports pipelines to pass the ZIPs from one job to another...

Together we can save the planet!
-jt




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Using test distribution & Apache's Jenkins pipelines was: Time it takes for Test PHP Cluster

2021-04-25 Thread Jaroslav Tulach
Dne pátek 16. dubna 2021 18:53:31 CEST, Tomáš Procházka napsal(a):
> I stareted conversion of other jobs
> (https://github.com/apache/netbeans/pull/2708) but stopped given current
> status of Github Actions
> (https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+status)

Hello guys,
maybe there is a time to improve the structure of build jobs and to increase 
the throughput by eliminating duplicated tasks.

These days every job builds the IDE, builds the tests and then it executes 
some tests. We can do better than that! There has been a "test distribution" 
in NetBeans for years and according to its creator Petr Zajac, it is still 
working!

It would be good to have one job that builds the ZIP of the IDE and builds the 
ZIP for the test distribution. Only then other "testing" jobs are started, 
download the two ZIP files and use them to perform the tests only.

Btw. When at it, shouldn't we consider to use https://ci-builds.apache.org/ ? 
It is an infrastructure that fully runs on Apache's hardware - e.g. we aren't 
going to be influenced deals with external providers like Travis or Azure. 
Moreover Jenkins supports pipelines to pass the ZIPs from one job to 
another...

Together we can save the planet!
-jt




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists