kou commented on PR #48030:
URL: https://github.com/apache/arrow/pull/48030#issuecomment-3483197725

   Hmm. This may not be a real fix...
   
   
https://github.com/apache/arrow/actions/runs/19037225895/job/54364564798#step:13:41
   
   ```text
   rm: cannot remove 'repo/bin/macosx/big-sur-arm64/contrib/4.4:': No such file 
or directory
   ```
   
   This error message shows that the failed path has `:` at the last. It's 
strange. It seems that we create strange paths (e.g. paths that have spaces) in 
the following step:
   
   
https://github.com/apache/arrow/blob/534ef71eca582006668f6f4ac83b47dd695d2020/.github/workflows/r_nightly.yml#L107-L150
   
   BTW, does the following log help us...?
   
   
https://github.com/apache/arrow/actions/runs/19037225895/job/54364564798#step:12:56
   
   ```text
    ./repo/bin/macosx/big-sur-arm64/contrib/4.4 
                                          FALSE 
    ./repo/bin/macosx/big-sur-arm64/contrib/4.5 
                                          FALSE 
   ./repo/bin/macosx/big-sur-x86_64/contrib/4.4 
                                          FALSE 
   ./repo/bin/macosx/big-sur-x86_64/contrib/4.5 
                                          FALSE 
                 ./repo/bin/windows/contrib/4.4 
                                          FALSE 
                 ./repo/bin/windows/contrib/4.5 
                                          FALSE 
                             ./repo/src/contrib 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
                                         ./repo 
                                          FALSE 
   ```
   
   How about enable trace log as the first step?
   
   ```diff
   diff --git a/.github/workflows/r_nightly.yml 
b/.github/workflows/r_nightly.yml
   index 4e12fce954..ee432238ec 100644
   --- a/.github/workflows/r_nightly.yml
   +++ b/.github/workflows/r_nightly.yml
   @@ -152,6 +152,8 @@ jobs:
            env:
              KEEP: ${{ github.event.inputs.keep || 14 }}
            run: |
   +          set -x
   +
              prune() {
                # list files  | retain $KEEP newest files | delete everything 
else
                ls -t "$@" | tail -n +$((KEEP + 1)) | xargs --no-run-if-empty rm
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to