[jira] [Updated] (CASSANDRA-16006) Parallelise Jenkins dtests

2020-08-01 Thread Michael Semb Wever (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Semb Wever updated CASSANDRA-16006:
---
Description: 
Currently dtests in Jenkins take ~10 hours.

Using the Jenkins Matrix plugin these jobs can be split into smaller lists of 
dtests and run in parallel. This is the approach CircleCI takes.

This approach was [trialed|https://github.com/apache/cassandra-builds/pull/29] 
with the dtest-upgrade jobs (which are not yet part of the branch pipelines, 
and haven't previously worked at all due to their duration).

In addition to the Matrix plugin, the Priority-Sorter and Matrix Reloaded 
plugins also needed to be added.

The splits will occupy all executors, and multiple builds will lead to a long 
build queue. More important builds (artifacts and unit tests) need a way to be 
prioritised in such saturated situations.

Splits can fail for silly reasons (false-positive), like 
[full|https://issues.apache.org/jira/browse/INFRA-19793] /tmp disks, or 
[connectivity issues|https://issues.apache.org/jira/browse/INFRA-20107] between 
the donated agent servers. The Matrix Reloaded plugin makes it easy to rebuilt 
just those failed splits.

  was:
Currently dtests in Jenkins take ~10 hours.

Using the Jenkins Matrix plugin these jobs can be split into smaller lists of 
dtests and run in parallel. This is the approach CircleCI takes.

This approach was [trialed|https://github.com/apache/cassandra-builds/pull/29] 
with the dtest-upgrade jobs (which are not yet part of the branch pipelines, 
and haven't previously worked at all due to their duration).

In addition to the Matrix plugin, the Priority-Sorter and Matrix Reloaded 
plugins also needed to be added.

The splits will occupy all executors, and multiple builds will lead to a long 
build queue. More important builds (artifacts and unit tests) need a way to be 
prioritised in such saturated situations.

Splits can fail for silly reasons (false-positive), like full /tmp disks, or 
connectivity issues between the donated agent servers. The Matrix Reloaded 
plugin makes it easy to rebuilt just those failed splits.


> Parallelise Jenkins dtests
> --
>
> Key: CASSANDRA-16006
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16006
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0-rc
>
>
> Currently dtests in Jenkins take ~10 hours.
> Using the Jenkins Matrix plugin these jobs can be split into smaller lists of 
> dtests and run in parallel. This is the approach CircleCI takes.
> This approach was 
> [trialed|https://github.com/apache/cassandra-builds/pull/29] with the 
> dtest-upgrade jobs (which are not yet part of the branch pipelines, and 
> haven't previously worked at all due to their duration).
> In addition to the Matrix plugin, the Priority-Sorter and Matrix Reloaded 
> plugins also needed to be added.
> The splits will occupy all executors, and multiple builds will lead to a long 
> build queue. More important builds (artifacts and unit tests) need a way to 
> be prioritised in such saturated situations.
> Splits can fail for silly reasons (false-positive), like 
> [full|https://issues.apache.org/jira/browse/INFRA-19793] /tmp disks, or 
> [connectivity issues|https://issues.apache.org/jira/browse/INFRA-20107] 
> between the donated agent servers. The Matrix Reloaded plugin makes it easy 
> to rebuilt just those failed splits.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (CASSANDRA-15925) Jenkins pipeline can copy wrong test report artefacts from stage builds

2020-08-01 Thread Michael Semb Wever (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Semb Wever updated CASSANDRA-15925:
---
Fix Version/s: 3.11.x
   3.0.x
   2.2.x

> Jenkins pipeline can copy wrong test report artefacts from stage builds
> ---
>
> Key: CASSANDRA-15925
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15925
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0-rc
>
>
> Spotted in 
> https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/196/console
> Looks like copyArtifact will need to be specific to a build.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (CASSANDRA-15925) Jenkins pipeline can copy wrong test report artefacts from stage builds

2020-08-01 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-15925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17169256#comment-17169256
 ] 

Michael Semb Wever commented on CASSANDRA-15925:


CI run, including CassandraXMLJUnitResultFormatter 
[patch|https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/trunk_15925],
 
[here|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/226/pipeline].

This will need to be applied from 2.2 onwards.

> Jenkins pipeline can copy wrong test report artefacts from stage builds
> ---
>
> Key: CASSANDRA-15925
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15925
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0-rc
>
>
> Spotted in 
> https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/196/console
> Looks like copyArtifact will need to be specific to a build.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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