You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2023/06/28 21:40:00 UTC

[jira] [Comment Edited] (CASSANDRA-18594) Standalone Jenkinsfile

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

Ekaterina Dimitrova edited comment on CASSANDRA-18594 at 6/28/23 9:39 PM:
--------------------------------------------------------------------------

Thank you for explaining.

I tracked that we ran specific tests more than once. It is inconsistent between pipelines and job types and JDKs where we duplicate. 

Examples:

1)

[https://ci-cassandra.apache.org/job/Cassandra-trunk/1611/testReport/org.apache.cassandra.utils.vint/VIntCodingTest/] – test class is run twice with CDC on JDK11. We run with compression only with JDK11

[https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2525/testReport/org.apache.cassandra.utils.vint/VIntCodingTest/] - the same test class ran twice with JDK8

2) 

[https://ci-cassandra.apache.org/job/Cassandra-trunk/1611/testReport/org.apache.cassandra.utils.streamhist/StreamingTombstoneHistogramBuilderTest/] - again the test class is run twice with CDC on JDK11

[https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2525/testReport/org.apache.cassandra.utils.streamhist/StreamingTombstoneHistogramBuilderTest/] - the runs look ok


was (Author: e.dimitrova):
Thank you for explaining.

I tracked that we ran specific tests more than once. It is inconsistent between pipelines and job types and JDKs where we duplicate. 

Examples:

 

1)

[https://ci-cassandra.apache.org/job/Cassandra-trunk/1611/testReport/org.apache.cassandra.utils.vint/VIntCodingTest/] – test class is run twice with CDC on JDK11. We run with compression only with JDK11

[https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2525/testReport/org.apache.cassandra.utils.vint/VIntCodingTest/] - the same test class ran twice with JDK8

2) 

[https://ci-cassandra.apache.org/job/Cassandra-trunk/1611/testReport/org.apache.cassandra.utils.streamhist/StreamingTombstoneHistogramBuilderTest/] - again the test class is run twice with CDC on JDK11

[https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2525/testReport/org.apache.cassandra.utils.streamhist/StreamingTombstoneHistogramBuilderTest/] - the runs look ok

 

 

> Standalone Jenkinsfile
> ----------------------
>
>                 Key: CASSANDRA-18594
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18594
>             Project: Cassandra
>          Issue Type: Task
>          Components: CI
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 5.x
>
>
> Spin off CASSANDRA-18133
> Once all build and test scripts are in-tree, dockerised with their images in-tree too, the {{.jenkins/Jenkinsfile}} can be rewritten to be standalone. Today its inner stage jobs refer to already defined jobs by cassandra-builds' groovy dsl.
>  
> This addresses the epic's stated existing problems:
>  - mixture of jenkins dsl groovy, declarative and scripting pipeline.
>  - different pre-commit and post-commit jenkins pipelines are used.
> In addition it addresses:
>  - stage jobs don't always running on the same SHA as the pipeline's run,
>  - a more readable Jenkinsfile



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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