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

Jacek Lewandowski commented on CASSANDRA-19086:
-----------------------------------------------

[~e.dimitrova] yes, because you run a single class. The problem is when:
- you have multiple test classes/test methods to repeat (it fails then when 
moving logs)
- you run non-default configuration repeated tests (it does not copy the logs 
at all)

I've done two builds - the first one without the patch:
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1130/workflows/3dfc7d5c-a886-47ac-b1a9-75a661d71ffb
 - note that there are no log artifacts and the regular configuration failed

And the one with the patch:
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1131/workflows/a9983d53-1138-47b8-a3b6-f22f752eb472
 - where all the target finished properly and log artifacts are where they 
should be

The problem was caused by the fact that the log files are copied to the 
directory named {{<testtag>_jdk11}} while the scripts assumed {{<testtag>}}. 
The latter is true for xml test results and for the pre 5.0 branches. However, 
starting from 5.0, the logs are located according to that new pattern.


> Repeated tests (CircleCI) errors on moving logs
> -----------------------------------------------
>
>                 Key: CASSANDRA-19086
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19086
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>
> https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1114/workflows/a1d02a59-31ee-48e2-9426-a4eca52ed3ff/jobs/50107
> {noformat}
> BUILD SUCCESSFUL
> Total time: 5 seconds
> + dest=/tmp/results/repeated_utests/stdout/passes/01
> + mkdir -p /tmp/results/repeated_utests/stdout/passes/01
> + mv stdout.txt 
> /tmp/results/repeated_utests/stdout/passes/01/org.apache.cassandra.db.commitlog.CommitLogSegmentBackpressureTest.txt
> + source=build/test/output/
> + dest=/tmp/results/repeated_utests/output/passes/01
> + mkdir -p /tmp/results/repeated_utests/output/passes/01
> + [[ -d build/test/output/ ]]
> ++ ls build/test/output/
> + [[ -n 
> TEST-org.apache.cassandra.db.commitlog.CommitLogSegmentBackpressureTest.xml ]]
> + mv 
> build/test/output//TEST-org.apache.cassandra.db.commitlog.CommitLogSegmentBackpressureTest.xml
>  /tmp/results/repeated_utests/output/passes/01/
> + source=build/test/logs/
> + dest=/tmp/results/repeated_utests/logs/passes/01
> + mkdir -p /tmp/results/repeated_utests/logs/passes/01
> + [[ -d build/test/logs/ ]]
> ++ ls build/test/logs/
> + [[ -n _jdk11 ]]
> + mv build/test/logs//_jdk11 /tmp/results/repeated_utests/logs/passes/01/
> mv: cannot move 'build/test/logs//_jdk11' to 
> '/tmp/results/repeated_utests/logs/passes/01/_jdk11': File exists
> Exited with code exit status 1
> {noformat}



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

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

Reply via email to