[jira] [Commented] (CASSANDRA-17489) Test Failures: org.apache.cassandra.metrics and a few others failing (utests_system_keyspace_directory on circleci)

2022-06-19 Thread Berenguer Blasi (Jira)


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

Berenguer Blasi commented on CASSANDRA-17489:
-

I see the branch is like 20d old so I would also suggest a rebase + run the 
pre_commit section of CI as the patch touches code, so we want to see dtests, 
jvm dtests, etc also being tested?

> Test Failures: org.apache.cassandra.metrics and a few others failing 
> (utests_system_keyspace_directory on circleci)
> ---
>
> Key: CASSANDRA-17489
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17489
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Assignee: Blake Eggleston
>Priority: Urgent
> Fix For: 4.1-beta
>
>
> There are 10 tests failing in CircleCI - utests_system_keyspace_directory
> This test target is not presented in Jenkins.
>  
> The tests fail for the same reason:
> {code:java}
> java.lang.RuntimeException: java.nio.file.NoSuchFileException: 
> build/test/cassandra/data/system/_paxos_repair_state/ballot.meta.tmp at 
> org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:128)
>  at 
> org.apache.cassandra.io.util.SequentialWriter.(SequentialWriter.java:161)
>  at 
> org.apache.cassandra.io.util.SequentialWriter.(SequentialWriter.java:150)
>  at 
> org.apache.cassandra.service.paxos.uncommitted.PaxosBallotTracker.flush(PaxosBallotTracker.java:130)
>  at 
> org.apache.cassandra.service.paxos.uncommitted.PaxosStateTracker.maybeRebuild(PaxosStateTracker.java:309)
>  at 
> org.apache.cassandra.service.paxos.PaxosState.maybeRebuildUncommittedState(PaxosState.java:122)
>  at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:368) 
> at 
> org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:655) 
> at 
> org.apache.cassandra.service.EmbeddedCassandraService.start(EmbeddedCassandraService.java:50)
>  at org.apache.cassandra.metrics.CQLMetricsTest.setup(CQLMetricsTest.java:53) 
> Caused by: java.nio.file.NoSuchFileException: 
> build/test/cassandra/data/system/_paxos_repair_state/ballot.meta.tmp at 
> sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at 
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at 
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at 
> sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
>  at java.nio.channels.FileChannel.open(FileChannel.java:287) at 
> java.nio.channels.FileChannel.open(FileChannel.java:335) at 
> org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:113){code}
> The tests started failing every time after CEP 14 was committed.
> For reference:
>  * build before - 
> https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1484/workflows/88cac38a-ee0c-46e2-a6a7-5c364ff04f3e/jobs/9680
>  * build after - 
> [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1485/workflows/c3f56ec1-2ef0-4e61-b689-c7764934827d/jobs/9682]
> I think the only unrelated is 
> {code:java}
> testTokenGenerator_single_rack_or_single_rf{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[cassandra-website] branch asf-staging updated (b9c1ea3a -> 415867dd)

2022-06-19 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


 discard b9c1ea3a generate docs for 59fe9893
 new 415867dd generate docs for 59fe9893

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b9c1ea3a)
\
 N -- N -- N   refs/heads/asf-staging (415867dd)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/search-index.js |   2 +-
 site-ui/build/ui-bundle.zip | Bin 4740078 -> 4740078 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)


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



[cassandra-website] branch asf-staging updated (54d814e3 -> b9c1ea3a)

2022-06-19 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


 discard 54d814e3 generate docs for 59fe9893
 new b9c1ea3a generate docs for 59fe9893

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (54d814e3)
\
 N -- N -- N   refs/heads/asf-staging (b9c1ea3a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 site-ui/build/ui-bundle.zip | Bin 4740078 -> 4740078 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)


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



[cassandra-website] branch asf-staging updated (ebbdb636 -> 54d814e3)

2022-06-19 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


 discard ebbdb636 generate docs for 59fe9893
 new 54d814e3 generate docs for 59fe9893

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (ebbdb636)
\
 N -- N -- N   refs/heads/asf-staging (54d814e3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 site-ui/build/ui-bundle.zip | Bin 4740078 -> 4740078 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)


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



[cassandra-website] branch asf-staging updated (71669812 -> ebbdb636)

2022-06-19 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


 discard 71669812 generate docs for 59fe9893
 new ebbdb636 generate docs for 59fe9893

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (71669812)
\
 N -- N -- N   refs/heads/asf-staging (ebbdb636)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/search-index.js |   2 +-
 site-ui/build/ui-bundle.zip | Bin 4740078 -> 4740078 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)


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



[jira] [Updated] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-17664:
---
Resolution: Fixed
Status: Resolved  (was: Ready to Commit)

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever commented on CASSANDRA-17664:


Committed as 
[e163146fd90f34c03ac8c2d58101f277874cc971|https://github.com/apache/cassandra/commit/e163146fd90f34c03ac8c2d58101f277874cc971].

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[cassandra] branch trunk updated (904f964e37 -> 53490acf65)

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


from 904f964e37 Merge branch 'cassandra-4.1' into trunk
 new e163146fd9 Fix retries for stage builds that do not throw failures
 new 87bdbb7182 Merge branch 'cassandra-2.2' into cassandra-3.0
 new 51fb85a9db Merge branch 'cassandra-3.0' into cassandra-3.11
 new 15ecaaed43 Merge branch 'cassandra-3.11' into cassandra-4.0
 new e50e2e93fb Merge branch 'cassandra-4.0' into cassandra-4.1
 new 53490acf65 Merge branch 'cassandra-4.1' into trunk

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)


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



[cassandra] 01/01: Merge branch 'cassandra-4.1' into trunk

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 53490acf65fd0bb51ffe0d6d22d6d63f31a44272
Merge: 904f964e37 e50e2e93fb
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 16:41:36 2022 +0200

Merge branch 'cassandra-4.1' into trunk

 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)


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



[cassandra] 01/01: Merge branch 'cassandra-3.0' into cassandra-3.11

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 51fb85a9db05efac231630e0e3621a6aa65483b6
Merge: f884dda75b 87bdbb7182
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 16:39:18 2022 +0200

Merge branch 'cassandra-3.0' into cassandra-3.11

 .jenkins/Jenkinsfile | 45 ++---
 1 file changed, 30 insertions(+), 15 deletions(-)

diff --cc .jenkins/Jenkinsfile
index 31f06d280d,4ea5de3e8a..75b9a66cbb
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@@ -47,34 -48,8 +47,35 @@@ pipeline 
}
  }
}
 -  stage('Test') {
 +}
 +stage('Test') {
  parallel {
 +  stage('stress') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  stress = build job: "${env.JOB_NAME}-stress-test", 
propagate: false
++  if (stress.result != 'FAILURE') break
 +}
 +if (stress.result != 'SUCCESS') unstable('stress test 
failures')
 +if (stress.result == 'FAILURE') currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +  warnError('missing test xml files') {
 +  script {
 +  copyTestResults('stress-test', stress.getNumber())
 +  }
 +  }
 +  }
 +}
 +  }
stage('units') {
  steps {
script {
@@@ -150,31 -128,6 +154,32 @@@
}
  }
}
 +  stage('cdc') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  cdc = build job: "${env.JOB_NAME}-test-cdc", propagate: 
false
++  if (cdc.result != 'FAILURE') break
 +}
 +if (cdc.result != 'SUCCESS') unstable('cdc failures')
 +if (cdc.result == 'FAILURE') currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +  warnError('missing test xml files') {
 +  script {
 +  copyTestResults('test-cdc', cdc.getNumber())
 +  }
 +  }
 +  }
 +}
 +  }
stage('compression') {
  steps {
script {
@@@ -354,31 -314,6 +366,32 @@@
}
  }
}
 +  stage('dtest-offheap') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  dtest_offheap = build job: "${env.JOB_NAME}-dtest-offheap", 
propagate: false
++  if (dtest_offheap.result != 'FAILURE') break
 +}
 +if (dtest_offheap.result != 'SUCCESS') 
unstable('dtest-offheap failures')
 +if (dtest_offheap.result == 'FAILURE') 
currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +warnError('missing test xml files') {
 +script {
 +copyTestResults('dtest-offheap', 
dtest_offheap.getNumber())
 +}
 +}
 +  }
 +}
 +  }
stage('dtest-large-novnode') {
  steps {
script {


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



[cassandra] 01/01: Merge branch 'cassandra-2.2' into cassandra-3.0

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 87bdbb7182af2db4b868f1001cf10f1d0af763d0
Merge: ba0555e965 e163146fd9
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 16:38:34 2022 +0200

Merge branch 'cassandra-2.2' into cassandra-3.0

 .jenkins/Jenkinsfile | 36 
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --cc .jenkins/Jenkinsfile
index ca4a0c7f24,2ecc1a3921..4ea5de3e8a
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@@ -150,36 -154,11 +154,37 @@@ pipeline 
}
  }
}
 +  stage('cqlsh') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  cqlsh = build job: "${env.JOB_NAME}-cqlsh-tests", 
propagate: false
++  if (cqlsh.result != 'FAILURE') break
 +}
 +if (cqlsh.result != 'SUCCESS') unstable('cqlsh failures')
 +if (cqlsh.result == 'FAILURE') currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +  warnError('missing test xml files') {
 +  script {
 +  copyTestResults('cqlsh-tests', cqlsh.getNumber())
 +  }
 +  }
 +  }
 +}
 +  }
 +}
}
 -}
 -stage('Distributed Test') {
 +  stage('Distributed Test') {
  parallel {
 -  stage('JVM DTests') {
 +  stage('jvm-dtest') {
  steps {
script {
  def attempt = 1
@@@ -204,31 -184,6 +210,32 @@@
}
  }
}
 +  stage('jvm-dtest-upgrade') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  jvm_dtest_upgrade = build job: 
"${env.JOB_NAME}-jvm-dtest-upgrade", propagate: false
++  if (jvm_dtest_upgrade.result != 'FAILURE') break
 +}
 +if (jvm_dtest_upgrade.result != 'SUCCESS') 
unstable('jvm-dtest-upgrade failures')
 +if (jvm_dtest_upgrade.result == 'FAILURE') 
currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +  warnError('missing test xml files') {
 +  script {
 +  copyTestResults('jvm-dtest-upgrade', 
jvm_dtest_upgrade.getNumber())
 +  }
 +  }
 +  }
 +}
 +  }
stage('dtest') {
  steps {
script {
@@@ -313,10 -271,11 +323,11 @@@
  sleep(60 * attempt)
}
attempt = attempt + 1
 -  dtest_offheap = build job: "${env.JOB_NAME}-dtest-offheap", 
propagate: false
 -  if (dtest_offheap.result != 'FAILURE') break
 +  dtest_large_novnode = build job: 
"${env.JOB_NAME}-dtest-large-novnode", propagate: false
++  if (dtest_large_novnode.result != 'FAILURE') break
  }
 -if (dtest_offheap.result != 'SUCCESS') 
unstable('dtest-offheap failures')
 -if (dtest_offheap.result == 'FAILURE') 
currentBuild.result='FAILURE'
 +if (dtest_large_novnode.result != 'SUCCESS') 
unstable('dtest-large-novnode failures')
 +if (dtest_large_novnode.result == 'FAILURE') 
currentBuild.result='FAILURE'
}
  }
  post {
@@@ -329,31 -288,6 +340,32 @@@
}
  }
}
 +  stage('dtest-upgrade') {
 +steps {
 +  script {
 +def attempt = 1
- retry(2) {
++while (attempt <=2) {
 +  if (attempt > 1) {
 +sleep(60 * attempt)
 +  }
 +  attempt = attempt + 1
 +  dtest_upgrade = build job: "${env.JOB_NAME}-dtest-upgrade", 
propagate: false
++  if (dtest_upgrade.result != 'FAILURE') break
 +}
 +if (dtest_upgrade.result != 'SUCCESS') unstable('dtest 
failures')
 +if (dtest_upgrade.result == 'FAILURE') 
currentBuild.result='FAILURE'
 +  }
 +}
 +post {
 +  always {
 +

[cassandra] branch cassandra-3.11 updated (f884dda75b -> 51fb85a9db)

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git


from f884dda75b CQLSH unicode control character list is too liberal
 new e163146fd9 Fix retries for stage builds that do not throw failures
 new 87bdbb7182 Merge branch 'cassandra-2.2' into cassandra-3.0
 new 51fb85a9db Merge branch 'cassandra-3.0' into cassandra-3.11

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .jenkins/Jenkinsfile | 45 ++---
 1 file changed, 30 insertions(+), 15 deletions(-)


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



[cassandra] branch cassandra-4.0 updated (7da28ef378 -> 15ecaaed43)

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch cassandra-4.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


from 7da28ef378 SSL storage port in sstableloader is deprecated
 new e163146fd9 Fix retries for stage builds that do not throw failures
 new 87bdbb7182 Merge branch 'cassandra-2.2' into cassandra-3.0
 new 51fb85a9db Merge branch 'cassandra-3.0' into cassandra-3.11
 new 15ecaaed43 Merge branch 'cassandra-3.11' into cassandra-4.0

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)


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



[cassandra] branch cassandra-3.0 updated (ba0555e965 -> 87bdbb7182)

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


from ba0555e965 Fix flaky test - 
org.apache.cassandra.distributed.test.MessageForwardingTest.mutationsForwardedToAllReplicasTest
 new e163146fd9 Fix retries for stage builds that do not throw failures
 new 87bdbb7182 Merge branch 'cassandra-2.2' into cassandra-3.0

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .jenkins/Jenkinsfile | 36 
 1 file changed, 24 insertions(+), 12 deletions(-)


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



[cassandra] 01/01: Merge branch 'cassandra-4.0' into cassandra-4.1

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-4.1
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit e50e2e93fb5a9f14ac1b3f6e0a2cb922095ffa1e
Merge: 89df37d4bb 15ecaaed43
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 16:40:53 2022 +0200

Merge branch 'cassandra-4.0' into cassandra-4.1

 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)


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



[cassandra] 01/01: Merge branch 'cassandra-3.11' into cassandra-4.0

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-4.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit 15ecaaed43da46406b3073d59a9896c3ffefbadc
Merge: 7da28ef378 51fb85a9db
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 16:40:08 2022 +0200

Merge branch 'cassandra-3.11' into cassandra-4.0

 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)

diff --cc .jenkins/Jenkinsfile
index 9ed102ac1b,75b9a66cbb..22c540fe47
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@@ -49,187 -49,168 +49,194 @@@ pipeline 
}
  }
  stage('Test') {
 -parallel {
 -  stage('stress') {
 -steps {
 +  parallel {
 +stage('stress') {
 +  steps {
 +script {
 +  def attempt = 1
-   retry(2) {
++  while (attempt <=2) {
 +if (attempt > 1) {
 +  sleep(60 * attempt)
 +}
 +attempt = attempt + 1
 +stress = build job: "${env.JOB_NAME}-stress-test", propagate: 
false
++if (stress.result != 'FAILURE') break
 +  }
 +  if (stress.result != 'SUCCESS') unstable('stress test failures')
 +  if (stress.result == 'FAILURE') currentBuild.result='FAILURE'
 +}
 +  }
 +  post {
 +always {
 +warnError('missing test xml files') {
 +script {
 +copyTestResults('stress-test', stress.getNumber())
 +}
 +}
 +}
 +  }
 +}
 +stage('fqltool') {
 +  steps {
script {
  def attempt = 1
- retry(2) {
+ while (attempt <=2) {
if (attempt > 1) {
  sleep(60 * attempt)
}
attempt = attempt + 1
 -  stress = build job: "${env.JOB_NAME}-stress-test", 
propagate: false
 -  if (stress.result != 'FAILURE') break
 +  fqltool = build job: "${env.JOB_NAME}-fqltool-test", 
propagate: false
++  if (fqltool.result != 'FAILURE') break
  }
 -if (stress.result != 'SUCCESS') unstable('stress test 
failures')
 -if (stress.result == 'FAILURE') currentBuild.result='FAILURE'
 -  }
 -}
 -post {
 -  always {
 -  warnError('missing test xml files') {
 -  script {
 -  copyTestResults('stress-test', stress.getNumber())
 -  }
 -  }
 +if (fqltool.result != 'SUCCESS') unstable('fqltool test 
failures')
 +if (fqltool.result == 'FAILURE') currentBuild.result='FAILURE'
}
 +  }
 +  post {
 +always {
 +warnError('missing test xml files') {
 +script {
 +copyTestResults('fqltool-test', fqltool.getNumber())
 +}
 +}
  }
}
 -  stage('units') {
 -steps {
 -  script {
 +}
 +stage('units') {
 +  steps {
 +script {
  def attempt = 1
- retry(2) {
+ while (attempt <=2) {
if (attempt > 1) {
  sleep(60 * attempt)
}
attempt = attempt + 1
test = build job: "${env.JOB_NAME}-test", propagate: false
+   if (test.result != 'FAILURE') break
 -}
 -if (test.result != 'SUCCESS') unstable('unit test failures')
 -if (test.result == 'FAILURE') currentBuild.result='FAILURE'
}
 +  if (test.result != 'SUCCESS') unstable('unit test failures')
 +  if (test.result == 'FAILURE') currentBuild.result='FAILURE'
  }
 -post {
 -  always {
 -  warnError('missing test xml files') {
 -  script {
 -  copyTestResults('test', test.getNumber())
 -  }
 -  }
 -  }
 +  }
 +  post {
 +always {
 +warnError('missing test xml files') {
 +script {
 +copyTestResults('test', test.getNumber())
 +}
 +}
  }
}
 -  stage('long units') {
 -steps {
 -  script {
 +}
 +stage('long units') {
 +  steps {
 +script {
  def attempt = 1

[cassandra] branch cassandra-2.2 updated: Fix retries for stage builds that do not throw failures

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-2.2
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-2.2 by this push:
 new e163146fd9 Fix retries for stage builds that do not throw failures
e163146fd9 is described below

commit e163146fd90f34c03ac8c2d58101f277874cc971
Author: Mick Semb Wever 
AuthorDate: Sun Jun 19 15:06:03 2022 +0200

Fix retries for stage builds that do not throw failures

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17664
---
 .jenkins/Jenkinsfile | 27 ++-
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile
index 884c1ffbfe..2ecc1a3921 100644
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@ -54,12 +54,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   test = build job: "${env.JOB_NAME}-test", propagate: false
+  if (test.result != 'FAILURE') break
 }
 if (test.result != 'SUCCESS') unstable('unit test failures')
 if (test.result == 'FAILURE') currentBuild.result='FAILURE'
@@ -79,12 +80,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   long_test = build job: "${env.JOB_NAME}-long-test", 
propagate: false
+  if (long_test.result != 'FAILURE') break
 }
 if (long_test.result != 'SUCCESS') unstable('long unit test 
failures')
 if (long_test.result == 'FAILURE') 
currentBuild.result='FAILURE'
@@ -104,12 +106,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   burn = build job: "${env.JOB_NAME}-test-burn", propagate: 
false
+  if (burn.result != 'FAILURE') break
 }
 if (burn.result != 'SUCCESS') unstable('burn test failures')
 if (burn.result == 'FAILURE') currentBuild.result='FAILURE'
@@ -129,12 +132,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   compression = build job: "${env.JOB_NAME}-test-compression", 
propagate: false
+  if (compression.result != 'FAILURE') break
 }
 if (compression.result != 'SUCCESS') unstable('compression 
failures')
 if (compression.result == 'FAILURE') 
currentBuild.result='FAILURE'
@@ -158,12 +162,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   jvm_dtest = build job: "${env.JOB_NAME}-jvm-dtest", 
propagate: false
+  if (jvm_dtest.result != 'FAILURE') break
 }
 if (jvm_dtest.result != 'SUCCESS') unstable('jvm-dtest 
failures')
 if (jvm_dtest.result == 'FAILURE') 
currentBuild.result='FAILURE'
@@ -183,12 +188,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * attempt)
   }
   attempt = attempt + 1
   dtest = build job: "${env.JOB_NAME}-dtest", propagate: false
+  if (dtest.result != 'FAILURE') break
 }
 if (dtest.result != 'SUCCESS') unstable('dtest failures')
 if (dtest.result == 'FAILURE') currentBuild.result='FAILURE'
@@ -208,12 +214,13 @@ pipeline {
 steps {
   script {
 def attempt = 1
-retry(2) {
+while (attempt <=2) {
   if (attempt > 1) {
 sleep(60 * 

[cassandra] branch cassandra-4.1 updated (89df37d4bb -> e50e2e93fb)

2022-06-19 Thread mck
This is an automated email from the ASF dual-hosted git repository.

mck pushed a change to branch cassandra-4.1
in repository https://gitbox.apache.org/repos/asf/cassandra.git


from 89df37d4bb Merge branch 'cassandra-4.0' into cassandra-4.1
 new e163146fd9 Fix retries for stage builds that do not throw failures
 new 87bdbb7182 Merge branch 'cassandra-2.2' into cassandra-3.0
 new 51fb85a9db Merge branch 'cassandra-3.0' into cassandra-3.11
 new 15ecaaed43 Merge branch 'cassandra-3.11' into cassandra-4.0
 new e50e2e93fb Merge branch 'cassandra-4.0' into cassandra-4.1

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .jenkins/Jenkinsfile | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)


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



[jira] [Updated] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-17664:
---
Status: Ready to Commit  (was: Review In Progress)

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Updated] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-17664:
---
Status: Review In Progress  (was: Patch Available)

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17664:
--

+1

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Updated] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-17664:
---
Status: Patch Available  (was: In Progress)

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (CASSANDRA-17664) Retry failed stage jobs in jenkins

2022-06-19 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever commented on CASSANDRA-17664:


New in-tree patches:
 - 
[2.2|https://github.com/apache/cassandra/compare/cassandra-2.2...thelastpickle:mck/17664-take2/2.2]
 - 
[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...thelastpickle:mck/17664-take2/3.0]
 - 
[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...thelastpickle:mck/17664-take2/3.11]
 - 
[4.0|https://github.com/apache/cassandra/compare/cassandra-4.0...thelastpickle:mck/17664-take2/4.0]
 - 
[4.1|https://github.com/apache/cassandra/compare/cassandra-4.1...thelastpickle:mck/17664-take2/4.1]
 - 
[trunk|https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/17664-take2/trunk]

> Retry failed stage jobs in jenkins
> --
>
> Key: CASSANDRA-17664
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17664
> Project: Cassandra
>  Issue Type: Improvement
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 2.2.20, 3.0.28, 3.11.14, 4.0.5, 4.1, 4.2
>
>
> To avoid failing pipeline builds on CI infrastructure faults (disks, network, 
> etc), retry stage jobs three times before marking them as FAILURE.
> Intention is not to retry on UNSTABLE (tests failing).
> This has already been done (and tested) for devbranch pipeline (pre-commit) 
> [here|https://github.com/apache/cassandra-builds/pull/72].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] (CASSANDRA-15968) nodetool drain fails in jvm dtest

2022-06-19 Thread Stefan Miklosovic (Jira)


[ https://issues.apache.org/jira/browse/CASSANDRA-15968 ]


Stefan Miklosovic deleted comment on CASSANDRA-15968:
---

was (Author: smiklosovic):
i transitioned this by mistake

> nodetool drain fails in jvm dtest
> -
>
> Key: CASSANDRA-15968
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15968
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: David Capwell
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1-beta, 4.x
>
>
> Drain fails since MessagingService doesn’t expect to be shutdown twice.
> {code}
> Caused by: java.lang.AssertionError
>   at 
> org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:766)
>   at 
> org.apache.cassandra.distributed.impl.Instance.lambda$parallelRun$28(Instance.java:805)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   ... 3 more
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Updated] (CASSANDRA-16584) Allow sstableloader to specify keyspace/table without relying on path

2022-06-19 Thread Stefan Miklosovic (Jira)


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

Stefan Miklosovic updated CASSANDRA-16584:
--
Test and Documentation Plan: modified units
 Status: Patch Available  (was: In Progress)

https://github.com/apache/cassandra/pull/1694

https://ci-cassandra.apache.org/job/Cassandra-devbranch/1802/#showFailuresLink

> Allow sstableloader to specify keyspace/table without relying on path
> -
>
> Key: CASSANDRA-16584
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16584
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Tools
>Reporter: Brendan Cicchi
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 4.x
>
>
> This is a followup to CASSANDRA-13884. It would be nice to be able to able to 
> specify both the keyspace and table name for BulkLoader as commandline 
> arguments and not rely on the path to the sstables, i.e. 
> //*.db.
> It looks like this may have already been completed in the patch in 
> CASSANDRA-4763 which ended up closed because of the overlap with 
> CASSANDRA-13884:
> https://issues.apache.org/jira/browse/CASSANDRA-4763?focusedCommentId=16133937=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16133937
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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