{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-next/issues/1520","repository_url":"https://api.github.com/repos/strongloop/loopback-next","labels_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1520/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1520/comments","events_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1520/events","html_url":"https://github.com/strongloop/loopback-next/pull/1520","id":340657158,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMDE2MTg1","number":1520,"title":" ci: mark sudo as required on travis","user":{"login":"virkt25","id":3311536,"node_id":"MDQ6VXNlcjMzMTE1MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3311536?v=4","gravatar_id":"","url":"https://api.github.com/users/virkt25","html_url":"https://github.com/virkt25","followers_url":"https://api.github.com/users/virkt25/followers","following_url":"https://api.github.com/users/virkt25/following{/other_user}","gists_url":"https://api.github.com/users/virkt25/gists{/gist_id}","starred_url":"https://api.github.com/users/virkt25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virkt25/subscriptions","organizations_url":"https://api.github.com/users/virkt25/orgs","repos_url":"https://api.github.com/users/virkt25/repos","events_url":"https://api.github.com/users/virkt25/events{/privacy}","received_events_url":"https://api.github.com/users/virkt25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"virkt25","id":3311536,"node_id":"MDQ6VXNlcjMzMTE1MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3311536?v=4","gravatar_id":"","url":"https://api.github.com/users/virkt25","html_url":"https://github.com/virkt25","followers_url":"https://api.github.com/users/virkt25/followers","following_url":"https://api.github.com/users/virkt25/following{/other_user}","gists_url":"https://api.github.com/users/virkt25/gists{/gist_id}","starred_url":"https://api.github.com/users/virkt25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virkt25/subscriptions","organizations_url":"https://api.github.com/users/virkt25/orgs","repos_url":"https://api.github.com/users/virkt25/repos","events_url":"https://api.github.com/users/virkt25/events{/privacy}","received_events_url":"https://api.github.com/users/virkt25/received_events","type":"User","site_admin":false},"assignees":[{"login":"virkt25","id":3311536,"node_id":"MDQ6VXNlcjMzMTE1MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3311536?v=4","gravatar_id":"","url":"https://api.github.com/users/virkt25","html_url":"https://github.com/virkt25","followers_url":"https://api.github.com/users/virkt25/followers","following_url":"https://api.github.com/users/virkt25/following{/other_user}","gists_url":"https://api.github.com/users/virkt25/gists{/gist_id}","starred_url":"https://api.github.com/users/virkt25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virkt25/subscriptions","organizations_url":"https://api.github.com/users/virkt25/orgs","repos_url":"https://api.github.com/users/virkt25/repos","events_url":"https://api.github.com/users/virkt25/events{/privacy}","received_events_url":"https://api.github.com/users/virkt25/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-12T14:15:08Z","updated_at":"2018-07-12T14:56:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-next/pulls/1520","html_url":"https://github.com/strongloop/loopback-next/pull/1520","diff_url":"https://github.com/strongloop/loopback-next/pull/1520.diff","patch_url":"https://github.com/strongloop/loopback-next/pull/1520.patch"},"body":"Builds on Travis (Linux) are failing as we use `sudo` in the `before_script` BUT we had `sudo: false` in `.travis.yml`. \r\n\r\nNot sure how it worked before but it looks like something changes with Travis causing the builds to now fail. This PR sets `sudo: required` as per the suggestion on the failing builds.\r\n\r\nExample of a failing build: https://travis-ci.org/strongloop/loopback-next/jobs/403098729\r\n\r\n## Checklist\r\n\r\n- [x] `npm test` passes on your machine\r\n- [ ] New tests added or existing tests modified to cover all changes\r\n- [ ] Code conforms with the [style guide](http://loopback.io/doc/en/contrib/style-guide.html)\r\n- [ ] API Documentation in code was updated\r\n- [ ] Documentation in [/docs/site](../tree/master/docs/site) was updated\r\n- [ ] Affected artifact templates in `packages/cli` were updated\r\n- [ ] Affected example projects in `examples/*` were updated\r\n"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-next/issues/comments/404541611","html_url":"https://github.com/strongloop/loopback-next/pull/1520#issuecomment-404541611","issue_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1520","id":404541611,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDU0MTYxMQ==","user":{"login":"bajtos","id":1140553,"node_id":"MDQ6VXNlcjExNDA1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1140553?v=4","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T14:56:53Z","updated_at":"2018-07-12T14:56:53Z","author_association":"MEMBER","body":"See https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments\r\n\r\n> **Sudo-enabled**\r\n>\r\n> A sudo enabled, full virtual machine per build, that runs Linux, either Ubuntu Precise 12.04 or Ubuntu Trusty 14.04.\r\n>\r\n> **Container-based**\r\n> \r\n> A fast boot time environment in which sudo commands are not available. Running Linux Ubuntu Trusty 14.04\r\n\r\nI am concerned that by requiring `sudo` mode, we may sacrifice speed of our CI builds because our jobs will have to wait longer for a virtual machine to become available and booted. \r\n\r\n I don't know if that's a valid concern or not. By looking at \"Total time\" values reported for this pull request and for previous builds, I don't see any significant difference.\r\n\r\n"}}
{"actor":{"display_login":"bajtos"}}