[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995398&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995398
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 14:27
Start Date: 09/Dec/25 14:27
Worklog Time Spent: 10m 
  Work Description: moresandeep closed pull request #1130: KNOX-3228: New 
create-list-aliases integration test (via @hanicz)
URL: https://github.com/apache/knox/pull/1130




Issue Time Tracking
---

Worklog Id: (was: 995398)
Time Spent: 2.5h  (was: 2h 20m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995376&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995376
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 12:27
Start Date: 09/Dec/25 12:27
Worklog Time Spent: 10m 
  Work Description: moresandeep opened a new pull request, #1130:
URL: https://github.com/apache/knox/pull/1130

   [KNOX-3228](https://issues.apache.org/jira/browse/KNOX-3228) - KnoxCLI 
integration test
   
   ## What changes were proposed in this pull request?
   
   - Adds a new integration tests for KnoxCLI alias related commands.
   - Adds the necessary steps and libraries to call KnoxCLI commands in 
integration tests.
   
   ## How was this patch tested?
   
   Ran the integration tests locally
   `docker compose -f ./.github/workflows/compose/docker-compose.yml up 
--exit-code-from tests tests`




Issue Time Tracking
---

Worklog Id: (was: 995376)
Time Spent: 2h 20m  (was: 2h 10m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995374&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995374
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 12:19
Start Date: 09/Dec/25 12:19
Worklog Time Spent: 10m 
  Work Description: hanicz closed pull request #1129: KNOX-3228: New 
KnoxCLI alias related tests
URL: https://github.com/apache/knox/pull/1129




Issue Time Tracking
---

Worklog Id: (was: 995374)
Time Spent: 2h 10m  (was: 2h)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995371&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995371
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 11:51
Start Date: 09/Dec/25 11:51
Worklog Time Spent: 10m 
  Work Description: hanicz opened a new pull request, #1129:
URL: https://github.com/apache/knox/pull/1129

   [KNOX-3228](https://issues.apache.org/jira/browse/KNOX-3228) - KnoxCLI 
integration test
   
   ## What changes were proposed in this pull request?
   
   - Adds a new integration tests for KnoxCLI alias related commands.
   - Adds the necessary steps and libraries to call KnoxCLI commands in 
integration tests.
   
   ## How was this patch tested?
   
   Ran the integration tests locally
   `docker compose -f ./.github/workflows/compose/docker-compose.yml up 
--exit-code-from tests tests`




Issue Time Tracking
---

Worklog Id: (was: 995371)
Time Spent: 2h  (was: 1h 50m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995369&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995369
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 11:47
Start Date: 09/Dec/25 11:47
Worklog Time Spent: 10m 
  Work Description: hanicz closed pull request #1127: KNOX-3228: New 
KnoxCLI alias related tests
URL: https://github.com/apache/knox/pull/1127




Issue Time Tracking
---

Worklog Id: (was: 995369)
Time Spent: 1h 50m  (was: 1h 40m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995357&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995357
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 11:23
Start Date: 09/Dec/25 11:23
Worklog Time Spent: 10m 
  Work Description: hanicz closed pull request #1123: KNOX-3228: New 
create-list-aliases integration test
URL: https://github.com/apache/knox/pull/1123




Issue Time Tracking
---

Worklog Id: (was: 995357)
Time Spent: 1.5h  (was: 1h 20m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995358&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995358
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 11:23
Start Date: 09/Dec/25 11:23
Worklog Time Spent: 10m 
  Work Description: hanicz opened a new pull request, #1127:
URL: https://github.com/apache/knox/pull/1127

   [KNOX-3228](https://issues.apache.org/jira/browse/KNOX-3228) - KnoxCLI 
integration test
   
   ## What changes were proposed in this pull request?
   
   - Adds a new integration tests for KnoxCLI alias related commands.
   - Adds the necessary steps and libraries to call KnoxCLI commands in 
integration tests.
   
   ## How was this patch tested?
   
   Ran the integration tests locally
   `docker compose -f ./.github/workflows/compose/docker-compose.yml up 
--exit-code-from tests tests`
   




Issue Time Tracking
---

Worklog Id: (was: 995358)
Time Spent: 1h 40m  (was: 1.5h)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995356&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995356
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 11:15
Start Date: 09/Dec/25 11:15
Worklog Time Spent: 10m 
  Work Description: moresandeep commented on PR #1123:
URL: https://github.com/apache/knox/pull/1123#issuecomment-3631693206

   Looks like the PR was opened before i merged my changes that replace [host 
name from knox to 
localhost](https://github.com/apache/knox/pull/1125/files#diff-895483e96b37ea49f8d4c82cf2e2b33500a5b34e99245ce5d8a0a6595f3e06b1R26)
   ```
   tests-1 | host = 'knox', port = 8443, family =  
   
   
   tests-1 | type = , proto = 0, flags = 0
   ```
   Notice the host name is knox  it was fixed to localhost  but the way this 
workflow runs the changes have to be in master.
   You can add `skip-tests` label to skip the test and commit. This should not 
be a problem going forward.




Issue Time Tracking
---

Worklog Id: (was: 995356)
Time Spent: 1h 20m  (was: 1h 10m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995319&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995319
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 06:28
Start Date: 09/Dec/25 06:28
Worklog Time Spent: 10m 
  Work Description: hanicz commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2601273085


##
.github/workflows/tests/test_knox_cli.py:
##
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+import unittest
+from util.knox import Knox
+

Review Comment:
   Added a description to the file however the individual tests have their own 
descriptions.



##
.github/workflows/tests/requirements.txt:
##
@@ -1,2 +1,3 @@
 requests
+docker

Review Comment:
   Done





Issue Time Tracking
---

Worklog Id: (was: 995319)
Time Spent: 1h  (was: 50m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995320&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995320
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 09/Dec/25 06:28
Start Date: 09/Dec/25 06:28
Worklog Time Spent: 10m 
  Work Description: hanicz commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2601273520


##
.github/workflows/compose/docker-compose.yml:
##
@@ -50,6 +50,7 @@ services:
 working_dir: /tests
 volumes:
   - ../tests:/tests
+  - /var/run/docker.sock:/var/run/docker.sock

Review Comment:
   Yes





Issue Time Tracking
---

Worklog Id: (was: 995320)
Time Spent: 1h 10m  (was: 1h)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995292&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995292
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 08/Dec/25 20:12
Start Date: 08/Dec/25 20:12
Worklog Time Spent: 10m 
  Work Description: Raghav-Mah3shwari commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2599984902


##
.github/workflows/tests/requirements.txt:
##
@@ -1,2 +1,3 @@
 requests
+docker

Review Comment:
   can we also keep the dependencies sorted (ascending or descending) as well 
just to make this file a little more readable down the line when we might have 
a lot of dependencies.





Issue Time Tracking
---

Worklog Id: (was: 995292)
Time Spent: 50m  (was: 40m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995289&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995289
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 08/Dec/25 19:57
Start Date: 08/Dec/25 19:57
Worklog Time Spent: 10m 
  Work Description: moresandeep commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2599945196


##
.github/workflows/compose/docker-compose.yml:
##
@@ -50,6 +50,7 @@ services:
 working_dir: /tests
 volumes:
   - ../tests:/tests
+  - /var/run/docker.sock:/var/run/docker.sock

Review Comment:
   I see, so this is for workflow right?





Issue Time Tracking
---

Worklog Id: (was: 995289)
Time Spent: 40m  (was: 0.5h)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995284&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995284
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 08/Dec/25 19:13
Start Date: 08/Dec/25 19:13
Worklog Time Spent: 10m 
  Work Description: hanicz commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2599817667


##
.github/workflows/compose/docker-compose.yml:
##
@@ -50,6 +50,7 @@ services:
 working_dir: /tests
 volumes:
   - ../tests:/tests
+  - /var/run/docker.sock:/var/run/docker.sock

Review Comment:
   We need this so for `self.knox_container = 
client.containers.get(container_name)`
   Without it the docker library can't find the container.





Issue Time Tracking
---

Worklog Id: (was: 995284)
Time Spent: 0.5h  (was: 20m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995283&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995283
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 08/Dec/25 19:08
Start Date: 08/Dec/25 19:08
Worklog Time Spent: 10m 
  Work Description: moresandeep commented on code in PR #1123:
URL: https://github.com/apache/knox/pull/1123#discussion_r2599802165


##
.github/workflows/tests/requirements.txt:
##
@@ -1,2 +1,3 @@
 requests
+docker

Review Comment:
   I have changes in this file, I am pinning version based on 
@Raghav-Mah3shwari 's input, that i will be committing. You will need to 
rebase, sorry :( 



##
.github/workflows/tests/test_knox_cli.py:
##
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+import unittest
+from util.knox import Knox
+

Review Comment:
   Test description would be nice!



##
.github/workflows/compose/docker-compose.yml:
##
@@ -50,6 +50,7 @@ services:
 working_dir: /tests
 volumes:
   - ../tests:/tests
+  - /var/run/docker.sock:/var/run/docker.sock

Review Comment:
   Why do we need this? This looks like a change needed for local runs.





Issue Time Tracking
---

Worklog Id: (was: 995283)
Time Spent: 20m  (was: 10m)

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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


[jira] [Work logged] (KNOX-3228) KnoxCLI integration test

2025-12-08 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/KNOX-3228?focusedWorklogId=995281&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-995281
 ]

ASF GitHub Bot logged work on KNOX-3228:


Author: ASF GitHub Bot
Created on: 08/Dec/25 18:51
Start Date: 08/Dec/25 18:51
Worklog Time Spent: 10m 
  Work Description: hanicz opened a new pull request, #1123:
URL: https://github.com/apache/knox/pull/1123

   [KNOX-3228](https://issues.apache.org/jira/browse/KNOX-3228) - KnoxCLI 
integration test
   
   ## What changes were proposed in this pull request?
   
   - Adds a new integration test for create-list-aliases KnoxCLI command.
   - Adds the necessary steps and libraries to call KnoxCLI commands in 
integration tests.
   
   ## How was this patch tested?
   
   Ran the integration tests locally
   `docker compose -f ./.github/workflows/compose/docker-compose.yml up 
--exit-code-from tests tests`
   




Issue Time Tracking
---

Worklog Id: (was: 995281)
Remaining Estimate: 0h
Time Spent: 10m

> KnoxCLI integration test
> 
>
> Key: KNOX-3228
> URL: https://issues.apache.org/jira/browse/KNOX-3228
> Project: Apache Knox
>  Issue Type: Test
>  Components: Tests
>Affects Versions: 3.0.0
>Reporter: Tamás Hanicz
>Assignee: Tamás Hanicz
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Adds a new integration test for create-list-aliases KnoxCLI command.
> Adds the necessary steps and libraries to call KnoxCLI commands in 
> integration tests.



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