{"action":"opened","issue":{"url":"https://api.github.com/repos/typelead/eta/issues/915","repository_url":"https://api.github.com/repos/typelead/eta","labels_url":"https://api.github.com/repos/typelead/eta/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/typelead/eta/issues/915/comments","events_url":"https://api.github.com/repos/typelead/eta/issues/915/events","html_url":"https://github.com/typelead/eta/issues/915","id":390143335,"node_id":"MDU6SXNzdWUzOTAxNDMzMzU=","number":915,"title":"Using Data.Text.IO.readFile throws intermitent java.nio.channels.ClosedByInterruptException","user":{"login":"jneira","id":54035,"node_id":"MDQ6VXNlcjU0MDM1","avatar_url":"https://avatars1.githubusercontent.com/u/54035?v=4","gravatar_id":"","url":"https://api.github.com/users/jneira","html_url":"https://github.com/jneira","followers_url":"https://api.github.com/users/jneira/followers","following_url":"https://api.github.com/users/jneira/following{/other_user}","gists_url":"https://api.github.com/users/jneira/gists{/gist_id}","starred_url":"https://api.github.com/users/jneira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jneira/subscriptions","organizations_url":"https://api.github.com/users/jneira/orgs","repos_url":"https://api.github.com/users/jneira/repos","events_url":"https://api.github.com/users/jneira/events{/privacy}","received_events_url":"https://api.github.com/users/jneira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T09:47:18Z","updated_at":"2018-12-12T09:47:18Z","closed_at":null,"author_association":"COLLABORATOR","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Description\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\n`dhall-eta` tests reads lot of dhall files using `Data.Text.IO.readFile` and some of the calls throws `java.nio.channels.ClosedByInterruptException`\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\nAll files should be readed correctly\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\nSome of the calls throws:\r\n```\r\nException: user error (The import failed but it had to success. Dhall exception: \r\n        ↳ ./../dhall-lang/tests/import/success/issue553A.dhall sha256:e2d014696fb7d773727ae5aa42dc20bbd2447ea82bcb5971ccbb7763906edace\r\n        JException java.nio.file.FileAlreadyExistsException: /root/.cache)\r\n```\r\nIn windows i get occasionally\r\n```\r\n      D:\\ws\\eta\\dhall\\dhall-eta\\..\\dhall-lang\\Prelude\\Integer\\toDouble: openFile\r\n: resource busy (file is locked)\r\n```\r\n## Possible Fix\r\n<!--- Not obligatory, but suggest a fix or reason for the bug -->\r\nNot sure where the buf can be fixed.. to investigate\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Trigger a circleci test build for `dhall-eta` like https://circleci.com/gh/eta-lang/dhall-eta/13\r\n2. Or checkout `dhall-eta` and run `etlas test` in local\r\n3.\r\n4.\r\n\r\n## Context\r\n<!--- How has this bug affected you? What were you trying to accomplish? -->\r\nSetup test suite for `dhall-eta`\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* circleci with eta master docker image\r\n* local: windows with eta and etlas built from master\r\n* Link to your project: https://github.com/eta-lang/dhall-eta\r\n"}}
{"actor":{"display_login":"jneira"}}