{"action":"created","issue":{"url":"https://api.github.com/repos/google/j2cl/issues/14","repository_url":"https://api.github.com/repos/google/j2cl","labels_url":"https://api.github.com/repos/google/j2cl/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/google/j2cl/issues/14/comments","events_url":"https://api.github.com/repos/google/j2cl/issues/14/events","html_url":"https://github.com/google/j2cl/issues/14","id":381790906,"node_id":"MDU6SXNzdWUzODE3OTA5MDY=","number":14,"title":"Can't run integration tests","user":{"login":"solomatov","id":1268556,"node_id":"MDQ6VXNlcjEyNjg1NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1268556?v=4","gravatar_id":"","url":"https://api.github.com/users/solomatov","html_url":"https://github.com/solomatov","followers_url":"https://api.github.com/users/solomatov/followers","following_url":"https://api.github.com/users/solomatov/following{/other_user}","gists_url":"https://api.github.com/users/solomatov/gists{/gist_id}","starred_url":"https://api.github.com/users/solomatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomatov/subscriptions","organizations_url":"https://api.github.com/users/solomatov/orgs","repos_url":"https://api.github.com/users/solomatov/repos","events_url":"https://api.github.com/users/solomatov/events{/privacy}","received_events_url":"https://api.github.com/users/solomatov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-11-16T23:02:17Z","updated_at":"2018-11-19T00:30:08Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nWhen I run the test command I got errors\r\n[kostik@kostik-laptop j2cl]$ bazel test //transpiler/javatests/com/google/j2cl/transpiler/integration/...\r\nERROR: /home/kostik/Projects/j2cl/transpiler/javatests/com/google/j2cl/transpiler/integration/box2d/BUILD:8:1: no such package 'third_party/java/jbox2d': BUILD file not found on package path and referenced by '//transpiler/javatests/com/google/j2cl/transpiler/integration/box2d:box2d_j2cl'\r\nERROR: Analysis of target '//transpiler/javatests/com/google/j2cl/transpiler/integration/box2d_noclassmetadata_checksmin:compiled_test_bin' failed; build aborted: no such package 'third_party/java/jbox2d': BUILD file not found on package path\r\nINFO: Elapsed time: 2.386s\r\nINFO: 0 processes.\r\nFAILED: Build did NOT complete successfully (230 packages loaded, 65 targets configured)\r\nFAILED: Build did NOT complete successfully (230 packages loaded, 65 targets configured)\r\ncurrently loading: jre/java/javaemul/internal/vmbootstrap/primitives\r\n\r\n\r\n**To Reproduce**\r\nSee the command above\r\n\r\n**Expected behavior**\r\nTests pass or at least run successfully to completion."},"comment":{"url":"https://api.github.com/repos/google/j2cl/issues/comments/439740377","html_url":"https://github.com/google/j2cl/issues/14#issuecomment-439740377","issue_url":"https://api.github.com/repos/google/j2cl/issues/14","id":439740377,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTc0MDM3Nw==","user":{"login":"rluble","id":4175508,"node_id":"MDQ6VXNlcjQxNzU1MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4175508?v=4","gravatar_id":"","url":"https://api.github.com/users/rluble","html_url":"https://github.com/rluble","followers_url":"https://api.github.com/users/rluble/followers","following_url":"https://api.github.com/users/rluble/following{/other_user}","gists_url":"https://api.github.com/users/rluble/gists{/gist_id}","starred_url":"https://api.github.com/users/rluble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rluble/subscriptions","organizations_url":"https://api.github.com/users/rluble/orgs","repos_url":"https://api.github.com/users/rluble/repos","events_url":"https://api.github.com/users/rluble/events{/privacy}","received_events_url":"https://api.github.com/users/rluble/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T00:30:08Z","updated_at":"2018-11-19T00:30:08Z","author_association":"COLLABORATOR","body":"The deps are all there, but in order to avoid cyclical module dependencies,  j2cl generates extra requires (which are only needed to make sure the relevant sources are included by jscompiler, this is due to a limitation of jscompiler module system and the fact that Java allows cyclic dependencies as long as the code is compiled together).\r\n\r\nBut in jscompiler bundled mode, these extra requires might appear before the the code for the actual module and the debug loader complains. I am not too familiar with the runtime details, but it is my understanding that the debug loader can be used to load modules one by one, but that is not what we are doing in bundled mode. That is why turning the `ENABLE_DEBUG_LOADER` to `false` works. If dependencies where actually missing that would be an error.\r\n\r\nAre you sure `AutoCloseable$impl` is not there? "}}
{"actor":{"display_login":"rluble"}}