{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/530","repository_url":"https://api.github.com/repos/xcat2/xcat2-task-management","labels_url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/530/comments","events_url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/530/events","html_url":"https://github.com/xcat2/xcat2-task-management/issues/530","id":390941164,"node_id":"MDU6SXNzdWUzOTA5NDExNjQ=","number":530,"title":"enhance current jenkintest script to support using container for regression testing","user":{"login":"robin2008","id":13726882,"node_id":"MDQ6VXNlcjEzNzI2ODgy","avatar_url":"https://avatars0.githubusercontent.com/u/13726882?v=4","gravatar_id":"","url":"https://api.github.com/users/robin2008","html_url":"https://github.com/robin2008","followers_url":"https://api.github.com/users/robin2008/followers","following_url":"https://api.github.com/users/robin2008/following{/other_user}","gists_url":"https://api.github.com/users/robin2008/gists{/gist_id}","starred_url":"https://api.github.com/users/robin2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin2008/subscriptions","organizations_url":"https://api.github.com/users/robin2008/orgs","repos_url":"https://api.github.com/users/robin2008/repos","events_url":"https://api.github.com/users/robin2008/events{/privacy}","received_events_url":"https://api.github.com/users/robin2008/received_events","type":"User","site_admin":false},"labels":[{"id":851320023,"node_id":"MDU6TGFiZWw4NTEzMjAwMjM=","url":"https://api.github.com/repos/xcat2/xcat2-task-management/labels/sprint1","name":"sprint1","color":"1d76db","default":false},{"id":861264200,"node_id":"MDU6TGFiZWw4NjEyNjQyMDA=","url":"https://api.github.com/repos/xcat2/xcat2-task-management/labels/test","name":"test","color":"2fe00f","default":false}],"state":"open","locked":false,"assignee":{"login":"hu-weihua","id":7370626,"node_id":"MDQ6VXNlcjczNzA2MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/7370626?v=4","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"assignees":[{"login":"hu-weihua","id":7370626,"node_id":"MDQ6VXNlcjczNzA2MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/7370626?v=4","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat2-task-management/milestones/10","html_url":"https://github.com/xcat2/xcat2-task-management/milestone/10","labels_url":"https://api.github.com/repos/xcat2/xcat2-task-management/milestones/10/labels","id":3879517,"node_id":"MDk6TWlsZXN0b25lMzg3OTUxNw==","number":10,"title":"2.14.6","description":"","creator":{"login":"hu-weihua","id":7370626,"node_id":"MDQ6VXNlcjczNzA2MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/7370626?v=4","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":16,"state":"open","created_at":"2018-12-07T09:56:14Z","updated_at":"2018-12-24T02:00:54Z","due_on":"2019-03-07T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-12-14T02:32:27Z","updated_at":"2018-12-26T10:16:23Z","closed_at":null,"author_association":"MEMBER","body":"As we publish a xcat container into docker hub, use this to install a xCAT MN and finish the regression test need some enhancement on current jenkins helper scripts.\r\n\r\nAfter some initial investigation, most of the things need to be done in\r\n```\r\n<xcat2/jenkins >/xcatjktest\r\n<xcat2/jenkins >/slave/test.sh\r\n```\r\n\r\nWe need a new ENV variable `XCAT_TEST_DOCKERIMAGE` for specify the image tag, for example `xcat/xcat:latest`\r\n\r\nif this variable is used, then ignore `XCAT_TEST_CORE` and `XCAT_TEST_DEP` as we use docker image to setup xCAT MN. So when run `xcatjktest` it needs to do:\r\n- install docker-ce\r\n- pull the `docker pull ${XCAT_TEST_DOCKERIMAGE}`\r\n- run it with host network, something like below\r\n```\r\ndocker run -d --name xcatmn --network=host --hostname xcatmn --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro xcat\r\n```\r\n- install xcat-test\r\n- run test\r\n\r\nNote:  \r\n- if you need extra logs from container,  using more `-v` to specify the directory.\r\n- if you want to run commands in xcat container from container,  you need to use `xdsh $mn docker exec $containername commands`\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/comments/449944506","html_url":"https://github.com/xcat2/xcat2-task-management/issues/530#issuecomment-449944506","issue_url":"https://api.github.com/repos/xcat2/xcat2-task-management/issues/530","id":449944506,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTk0NDUwNg==","user":{"login":"robin2008","id":13726882,"node_id":"MDQ6VXNlcjEzNzI2ODgy","avatar_url":"https://avatars0.githubusercontent.com/u/13726882?v=4","gravatar_id":"","url":"https://api.github.com/users/robin2008","html_url":"https://github.com/robin2008","followers_url":"https://api.github.com/users/robin2008/followers","following_url":"https://api.github.com/users/robin2008/following{/other_user}","gists_url":"https://api.github.com/users/robin2008/gists{/gist_id}","starred_url":"https://api.github.com/users/robin2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin2008/subscriptions","organizations_url":"https://api.github.com/users/robin2008/orgs","repos_url":"https://api.github.com/users/robin2008/repos","events_url":"https://api.github.com/users/robin2008/events{/privacy}","received_events_url":"https://api.github.com/users/robin2008/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T10:16:23Z","updated_at":"2018-12-26T10:16:23Z","author_association":"MEMBER","body":"```\r\nmount -o loop /RHEL-7.6-Server-ppc64le-dvd1-stable.iso /var/run/xcat/mountpoint/594f6d1901cded47a372a367422fa0ef\r\nmount: /RHEL-7.6-Server-ppc64le-dvd1-stable.iso: failed to setup loop device: No such file or directory\r\n```\r\nThis cause the `copycds` failed.\r\n\r\nFor `rpower` issue, need to use the /root/.ssh on host and set `echo \"StrictHostKeyChecking no\" >> /etc/ssh/ssh_config` in container."}}
{"actor":{"display_login":"robin2008"}}