{"action":"created","issue":{"url":"https://api.github.com/repos/linux-test-project/ltp/issues/448","repository_url":"https://api.github.com/repos/linux-test-project/ltp","labels_url":"https://api.github.com/repos/linux-test-project/ltp/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/linux-test-project/ltp/issues/448/comments","events_url":"https://api.github.com/repos/linux-test-project/ltp/issues/448/events","html_url":"https://github.com/linux-test-project/ltp/issues/448","id":391138257,"node_id":"MDU6SXNzdWUzOTExMzgyNTc=","number":448,"title":"travis: test on different distros with docker","user":{"login":"pevik","id":671766,"node_id":"MDQ6VXNlcjY3MTc2Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671766?v=4","gravatar_id":"","url":"https://api.github.com/users/pevik","html_url":"https://github.com/pevik","followers_url":"https://api.github.com/users/pevik/followers","following_url":"https://api.github.com/users/pevik/following{/other_user}","gists_url":"https://api.github.com/users/pevik/gists{/gist_id}","starred_url":"https://api.github.com/users/pevik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pevik/subscriptions","organizations_url":"https://api.github.com/users/pevik/orgs","repos_url":"https://api.github.com/users/pevik/repos","events_url":"https://api.github.com/users/pevik/events{/privacy}","received_events_url":"https://api.github.com/users/pevik/received_events","type":"User","site_admin":false},"labels":[{"id":1161610554,"node_id":"MDU6TGFiZWwxMTYxNjEwNTU0","url":"https://api.github.com/repos/linux-test-project/ltp/labels/ci","name":"ci","color":"4893a8","default":false},{"id":915017,"node_id":"MDU6TGFiZWw5MTUwMTc=","url":"https://api.github.com/repos/linux-test-project/ltp/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T14:44:14Z","updated_at":"2018-12-14T15:02:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently we do travis tests with ubuntu-toolchain-r-test, which allows us to get different gcc and clang versions. But we test on single glibc and kernel headers version.\r\nTesting on different distros with docker (or chroot, but docker is probably better) would give us less variety of compiler versions, but brought different glibc and kernel headers, which is more important. And we could even test for different libc.\r\nThis also (hopefully) as side effect fixes problems with timeouts when installing toolchains from ubuntu-toolchain-r repository (travis-ci/travis-ci#9112).\r\n\r\nSome inspiration from snapper:\r\nhttps://github.com/openSUSE/snapper/blob/master/.travis.yml"},"comment":{"url":"https://api.github.com/repos/linux-test-project/ltp/issues/comments/447350975","html_url":"https://github.com/linux-test-project/ltp/issues/448#issuecomment-447350975","issue_url":"https://api.github.com/repos/linux-test-project/ltp/issues/448","id":447350975,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzM1MDk3NQ==","user":{"login":"richiejp","id":988098,"node_id":"MDQ6VXNlcjk4ODA5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/988098?v=4","gravatar_id":"","url":"https://api.github.com/users/richiejp","html_url":"https://github.com/richiejp","followers_url":"https://api.github.com/users/richiejp/followers","following_url":"https://api.github.com/users/richiejp/following{/other_user}","gists_url":"https://api.github.com/users/richiejp/gists{/gist_id}","starred_url":"https://api.github.com/users/richiejp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richiejp/subscriptions","organizations_url":"https://api.github.com/users/richiejp/orgs","repos_url":"https://api.github.com/users/richiejp/repos","events_url":"https://api.github.com/users/richiejp/events{/privacy}","received_events_url":"https://api.github.com/users/richiejp/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T15:02:14Z","updated_at":"2018-12-14T15:02:14Z","author_association":"CONTRIBUTOR","body":"> Testing on different distros with docker (or chroot, but docker is probably better) would give us less variety of compiler versions, but brought different glibc and kernel headers, which is more important.\r\n\r\nWe can test all the versions (assuming Travis allow us to extend the test matrix that far), we just need to build/find the right docker images.\r\n\r\nI would prefer to use VMs instead of containers for the CI, so that we could run the test suite itself without worrying about breaking the host environment, but I'm not sure what choice we have for that other than a heavy weight solution like OpenQA or maybe Vargrant or Terraform. My feeling is Docker will be much simpler to setup and use than these, but I would be happy to be proven wrong."}}
{"actor":{"display_login":"richiejp"}}