You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2022/11/10 17:57:00 UTC

[jira] [Commented] (CASSANDRA-18033) generate.sh -a creates a corrupted yaml file

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

David Capwell commented on CASSANDRA-18033:
-------------------------------------------

tested on trunk without any changes

{code}
$ git change trunk
Switched to branch 'trunk'
Your branch is up to date with 'upstream/trunk'.
mux_client_request_session: read from master failed: Broken pipe
From github.com:apache/cassandra
 * branch                  trunk      -> FETCH_HEAD
Already up to date.
[dcapwell ~/src/github/apache/cassandra/trunk] (trunk) $ cd .circleci/
[dcapwell ~/src/github/apache/cassandra/trunk/.circleci] (trunk) $ ./generate.sh -a
Generating new config.yml file with low resources and LOWRES/MIDRES/HIGHRES templates from config-2_1.yml
patching file ./config-2_1.yml
patching file ./config-2_1.yml
[dcapwell ~/src/github/apache/cassandra/trunk/.circleci] (trunk) $ git st
On branch trunk
Your branch is up to date with 'upstream/trunk'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   config.yml
        modified:   config.yml.HIGHRES
        modified:   config.yml.LOWRES
        modified:   config.yml.MIDRES
$ head -n 20 config.yml.HIGHRES | grep -v '^#'

Error checking for updates: failed to check for updates. `brew outdated --json=v2` returned an error: exit status 1
Please contact support.
{code}

> generate.sh -a creates a corrupted yaml file
> --------------------------------------------
>
>                 Key: CASSANDRA-18033
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18033
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: David Capwell
>            Priority: Normal
>
> Tried adding a new build (j11 simulator) and generate.sh -a is success, but it corrupts the yaml with garbage
> {code}
> $ ./generate.sh -a
> Generating new config.yml file with low resources and LOWRES/MIDRES/HIGHRES templates from config-2_1.yml
> patching file ./config-2_1.yml
> Hunk #4 succeeded at 1520 (offset 18 lines).
> Hunk #5 succeeded at 1534 (offset 18 lines).
> Hunk #6 succeeded at 1549 (offset 18 lines).
> Hunk #7 succeeded at 1563 (offset 18 lines).
> Hunk #8 succeeded at 1578 (offset 18 lines).
> Hunk #9 succeeded at 1592 (offset 18 lines).
> Hunk #10 succeeded at 1607 (offset 18 lines).
> Hunk #11 succeeded at 1625 (offset 18 lines).
> Hunk #12 succeeded at 1640 (offset 18 lines).
> Hunk #13 succeeded at 1658 (offset 18 lines).
> Hunk #14 succeeded at 1673 (offset 18 lines).
> Hunk #15 succeeded at 1691 (offset 18 lines).
> Hunk #16 succeeded at 1706 (offset 18 lines).
> patching file ./config-2_1.yml
> {code}
> {code}
> $ head -n 20 .circleci/config.yml.HIGHRES | grep -v '^#'
> Error checking for updates: failed to check for updates. `brew outdated --json=v2` returned an error: exit status 1
> Please contact support.
> {code}



--
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