You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kevin Geiszler (Jira)" <ji...@apache.org> on 2026/10/14 14:21:00 UTC

[jira] [Assigned] (HBASE-30478) Clean up Read-Replica Jenkins run artifacts owned by root user

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

Kevin Geiszler reassigned HBASE-30478:
--------------------------------------

    Assignee: Kevin Geiszler

> Clean up Read-Replica Jenkins run artifacts owned by root user
> --------------------------------------------------------------
>
>                 Key: HBASE-30478
>                 URL: https://issues.apache.org/jira/browse/HBASE-30478
>             Project: HBase
>          Issue Type: Sub-task
>          Components: integration tests
>            Reporter: Kevin Geiszler
>            Assignee: Kevin Geiszler
>            Priority: Major
>
> There are two issues with artifact cleanup. 
> 1. The Read-Replica Jenkins test will pass on the first run, but subsequent runs will fail because artifacts from the previous run cannot be removed due to permission issues. We need a Jenkins run to clean up these artifacts when it finishes (regardless of pass or fail).
> {code:java}
> [2026-10-07T19:01:41.934Z] DEPRECATED: The 'Wipe out repository & force clone' extension is deprecated for Pipeline jobs. Pipeline users should use the deleteDir() step instead.
> [2026-10-07T19:01:41.934Z] Wiping out workspace first.
> [2026-10-07T19:01:43.697Z] ERROR: Checkout failed
> [2026-10-07T19:01:43.698Z] Also:   java.nio.file.FileSystemException: /home/jenkins/jenkins-home/workspace/eplica-Nightly-Tests_HBASE-30087/component/dev-support/read-replica/python/src/__pycache__/utils.cpython-310.pyc: Operation not permitted{code}
> 2. HBASE-30465 made a change where HBase logs from the read-replica container are saved after each pytest runs. These logs are owned by root and cannot be cleaned up at the end of the Jenkins run, resulting in a failed run even when all tests have passed.
> {code:java}
> 10:26:54 rm: cannot remove 'output-read-replica/test_read_only_flag_flipping/run1/hbase-cluster1-run1-logs': Permission denied 10:26:54 rm: cannot remove 'output-read-replica/test_read_only_flag_flipping/run1/hbase-cluster2-run1-logs': Permission denied 10:26:54 rm: cannot remove 'output-read-replica/test_read_only_flag_flipping/run1/test_read_only_flag_flipping.run1.log': Permission denied 10:26:54 rm: cannot remove 'output-read-replica/test_bulkloaded_data_and_region_splits/run1/hbase-cluster1-run1-logs': Permission denied  {code}
>  



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