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

Andres de la Peña edited comment on CASSANDRA-18032 at 1/12/23 4:06 PM:
------------------------------------------------------------------------

I'm afraid that, as reported by [~stefan.miklosovic], the {{set -e}} is 
breaking the writing of env vars, including those used for test multiplexer. 
For example, if you run:
{code:java}
.circleci/generate.sh -l -e 
REPEATED_JVM_DTESTS=org.apache.cassandra.distributed.test.AuthTest
{code}
The {{REPEATED_JVM_DTESTS}} is not written:
{code:java}
Generating new config.yml file with low resources from config-2_1.yml

Detecting new or modified tests with git diff --diff-filter=AMR trunk...HEAD:
{code}
I suspect that [this 
subshell|https://github.com/apache/cassandra/blob/trunk/.circleci/generate.sh#L206-L211]
 is producing a not-zero output that immediately stops execution. That happens 
after the resource config has been written, but the automatic test detection 
fails and the writing of env vars is skipped.


was (Author: adelapena):
I'm afraid that, as reported by [~stefan.miklosovic], the {{set -e}} is 
breaking the writing of env vars, including those used for test multiplexer. 
For example, if you run:
{code:java}
.circleci/generate.sh -l -e 
REPEATED_JVM_DTESTS=org.apache.cassandra.distributed.test.AuthTest
{code}
The {{REPEATED_JVM_DTESTS}} is not written:
{code:java}
Generating new config.yml file with low resources from config-2_1.yml

Detecting new or modified tests with git diff --diff-filter=AMR trunk...HEAD:
{code}
I suspect that [this 
subshell|https://github.com/apache/cassandra/blob/trunk/.circleci/generate.sh#L206-L211]
 is producing a not-zero output that immediately stops execution.

> When generate.sh fails its rc=0
> -------------------------------
>
>                 Key: CASSANDRA-18032
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18032
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: David Capwell
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 3.0.29, 3.11.15, 4.0.8, 4.1.1, 4.2
>
>
> {code}
> $ ./generate.sh -a
> Generating new config.yml file with low resources and LOWRES/MIDRES/HIGHRES 
> templates from config-2_1.yml
> ./generate.sh: line 171: circleci: command not found
> patching file ./config-2_1.yml
> Hunk #4 succeeded at 1511 (offset 9 lines).
> Hunk #5 succeeded at 1525 (offset 9 lines).
> Hunk #6 succeeded at 1540 (offset 9 lines).
> Hunk #7 succeeded at 1554 (offset 9 lines).
> Hunk #8 succeeded at 1569 (offset 9 lines).
> Hunk #9 succeeded at 1583 (offset 9 lines).
> Hunk #10 succeeded at 1598 (offset 9 lines).
> Hunk #11 succeeded at 1616 (offset 9 lines).
> Hunk #12 succeeded at 1631 (offset 9 lines).
> Hunk #13 succeeded at 1649 (offset 9 lines).
> Hunk #14 succeeded at 1664 (offset 9 lines).
> Hunk #15 succeeded at 1682 (offset 9 lines).
> Hunk #16 succeeded at 1697 (offset 9 lines).
> ./generate.sh: line 177: circleci: command not found
> patching file ./config-2_1.yml
> ./generate.sh: line 183: circleci: command not found
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to