mehrdadh commented on code in PR #11304:
URL: https://github.com/apache/tvm/pull/11304#discussion_r872647647


##########
tests/scripts/ci.py:
##########
@@ -195,6 +195,8 @@ def docker(name: str, image: str, scripts: List[str], env: 
Dict[str, str], inter
         command.append("-t")
         scripts = ["interact() {", "  bash", "}", "trap interact 0", ""] + 
scripts
 
+    command.append("--net=host")

Review Comment:
   adding to @driazati's comment, this is what actually runs when we call it:
   ```
   ./docker/bash.sh ci_hexagon --->
   
   docker run --workdir /home/mhessar/tvm --rm --pid=host --net=host 
--interactive --tty --env CI_BUILD_HOME=/home/mhessar/tvm --env 
CI_BUILD_USER=mhessar --env CI_BUILD_UID=1007 --env CI_BUILD_GROUP=mhessar 
--env CI_BUILD_GID=1007 --env CI_PYTEST_ADD_OPTIONS= --env 
CI_IMAGE_NAME=tlcpack/ci-hexagon:20220505-060045-500703308 --env 
PYTHONPATH=/home/mhessar/tvm/python --volume 
/home/mhessar/tvm:/home/mhessar/tvm --volume /home/mhessar/tvm/docker:/docker 
--volume /home/mhessar/.tvm_test_data:/home/mhessar/tvm/.tvm_test_data 
tlcpack/ci-hexagon:20220505-060045-500703308 bash --login 
/docker/with_the_same_user bash
   ```



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