{"action":"created","issue":{"url":"https://api.github.com/repos/ferd/rebar3_proper/issues/12","repository_url":"https://api.github.com/repos/ferd/rebar3_proper","labels_url":"https://api.github.com/repos/ferd/rebar3_proper/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ferd/rebar3_proper/issues/12/comments","events_url":"https://api.github.com/repos/ferd/rebar3_proper/issues/12/events","html_url":"https://github.com/ferd/rebar3_proper/issues/12","id":192640483,"number":12,"title":"{error, bad_name} when invoking code:priv_dir()","user":{"login":"pulltab","id":6842323,"avatar_url":"https://avatars.githubusercontent.com/u/6842323?v=3","gravatar_id":"","url":"https://api.github.com/users/pulltab","html_url":"https://github.com/pulltab","followers_url":"https://api.github.com/users/pulltab/followers","following_url":"https://api.github.com/users/pulltab/following{/other_user}","gists_url":"https://api.github.com/users/pulltab/gists{/gist_id}","starred_url":"https://api.github.com/users/pulltab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulltab/subscriptions","organizations_url":"https://api.github.com/users/pulltab/orgs","repos_url":"https://api.github.com/users/pulltab/repos","events_url":"https://api.github.com/users/pulltab/events{/privacy}","received_events_url":"https://api.github.com/users/pulltab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ferd","id":111141,"avatar_url":"https://avatars.githubusercontent.com/u/111141?v=3","gravatar_id":"","url":"https://api.github.com/users/ferd","html_url":"https://github.com/ferd","followers_url":"https://api.github.com/users/ferd/followers","following_url":"https://api.github.com/users/ferd/following{/other_user}","gists_url":"https://api.github.com/users/ferd/gists{/gist_id}","starred_url":"https://api.github.com/users/ferd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferd/subscriptions","organizations_url":"https://api.github.com/users/ferd/orgs","repos_url":"https://api.github.com/users/ferd/repos","events_url":"https://api.github.com/users/ferd/events{/privacy}","received_events_url":"https://api.github.com/users/ferd/received_events","type":"User","site_admin":false},"assignees":[{"login":"ferd","id":111141,"avatar_url":"https://avatars.githubusercontent.com/u/111141?v=3","gravatar_id":"","url":"https://api.github.com/users/ferd","html_url":"https://github.com/ferd","followers_url":"https://api.github.com/users/ferd/followers","following_url":"https://api.github.com/users/ferd/following{/other_user}","gists_url":"https://api.github.com/users/ferd/gists{/gist_id}","starred_url":"https://api.github.com/users/ferd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferd/subscriptions","organizations_url":"https://api.github.com/users/ferd/orgs","repos_url":"https://api.github.com/users/ferd/repos","events_url":"https://api.github.com/users/ferd/events{/privacy}","received_events_url":"https://api.github.com/users/ferd/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-30T18:18:50Z","updated_at":"2016-12-07T16:45:40Z","closed_at":null,"body":"```$ rebar3 version\r\nrebar 3.3.2 on Erlang/OTP 18 Erts 7.2.1\r\n```\r\n\r\nWhen I invoke `rebar3 as test proper`, I am experiencing the following error:\r\n```\r\n$ rebar3 as test proper\r\n===> Verifying dependencies...\r\n===> Compiling hermes_config\r\n===> Compiling hermes_stat\r\n===> Compiling hermes_common\r\n===> Compiling hermes_backend_redis\r\n===> Compiling hermes_web\r\n===> Compiling hermes\r\n===> Testing prop_hermes_backend_redis_channel:prop_filter_scores_size_drop()\r\n.x.x.x....x....x.x..xx.x.....x..xx.....x.x..x....x.x.x...x.x.xx..xxx.x....x..x..x..xx.xx.x..x...x.xx.xxx.x..x..x..xx....xx..xx.xxx.xxxx.x.xxx..x..xxxxxx.xxxx..xxx.xx..x.xxxxx.x.x.xx..x....x.x.xx.x..xxxx.xx....xxx...x..x..x.x.x.xx...xxx.xxxx.xxx.xxx.x..x..x..xxx...xx...xxx..x...x.x.x..xxx.xx.xx.xx.x..x....x....x..x.x.xx.xx.xxxx....x.x...xxx...xx......x...xx...x.x.xx..x.xxx..xxx.x.xxxx.xx.xxx.xxxx..x.x.x..x.xxxx.xx..x..xx.x.....xxxx.x.xxx.xxx..x...xxxx...xxxx.xx.....x..xx..x..x.x.xxxx..x..xx.x.x..x..x..xx.....x.xx.....x.xx.x.x..xx.xxx..xx.xx..xx.xx..xxxx...x..xxx....x.xxxxx.x....x...x.xx..xx...xxxx.x.x.x..x.xxx....xx..x.xx..xx...x.x.xx.xx.x....xxx....xx.xx.xx.x.....x..x..xx.xx.x...xx.x.xxxx.x..xx...x.......x.x.x.x....xxx...xxx.x.x..x..x...xxxx..xx.xxx..x..xxxxxx...x...xx.xx..x....x..x.x.xx...x.xx...x....xx...x..xx..x.x..x.x.xxxxxx..x.x..x....xx..xx.x....x.xxx.x.xx...x.xxxxxxx...xx.xxxxxxxxx.....xx...x..x..xxxxxxx.x.....xx...xx...xx.xxx...x.xxxxx.x...xx.......x.xx.x.xx...x..x..xx..x....xxxxxxxxx...xxxx..xx.xx.x...x...x..xxx..x.x.x..xx.xx..x....x..xx.xxx.xxx..xx...xx.xxxx.xx.x.xx..xxx.x..x.xx.xx.xxx...xxxx.x.x...xx....xxxx..x.xx.x.x.xx.x...xxx.x..xxxx.x.x.xxx.xxx.xx...x...x..xxx.x.xxxxxx......x.xx.xxxxx.x..x.xx.....xxx.x.x......xx....x.x.x.....xx...xxxxx.x.xxxx.x.xxx..x.xx.xxxx..xxxxx.x....x....xxx.x....xxxxx.xxxx.x.xxx...xx...x..x.xxx...x.x...xxxx.x.x...xxxxx.xxx.x.....xx..xx.xx......x.x..xx.x..xx.x.x.x..x.x...x.xx.x.x..x.xx.x.x....xx....xxxxx..x........xxxx..xxx.x.xx.xx..x.x...xx.x....xxxx..xx.x...xxx..xxx.x..x....x..xx..x.x.x...x.x..x..xxxxxxxx.xx.xxx.x.x..x.xx.....xx.xx.x...xxx....x...x..x.x..x..xx...x..xxx.x...x.xx...x.xx.x....x.xxxxxx.xxx..x.x..x.x.xx.xx..xxxxxx.x..xx.....x...x...xx.xxx.xx.......x.xx.x..xxxxxx..x..xx.xxxx.x.xxxxx..x.xx.xxxx.x..xxxxxx.x..xxx..x..x..x.xx..x..x.x.xxx.x.x.x.x...x.x.x....xx.xxxx.....xxxx...x....xxx.....xx.x...xx..xx...x.xx.xxxxx..xxx..x.....xxxxxx...........x.x..xxxx..x...xxx...x.x..xxx.x.x.xxxxxx.x.xx....\r\nOK: Passed 1000 test(s).\r\n===> Testing prop_hermes_backend_redis_channel:prop_rank_for_topic_strictly_monotonic()\r\n!\r\nFailed: After 1 test(s).\r\nAn exception was raised: error:{case_clause,{error,{hermes_backend_redis,{bad_return,{{hermes_backend_redis_app,start,[normal,[]]},{'EXIT',{bad_name,[{hermes_backend_redis_app,priv_dir,0,[{file,[47,85,115,101,114,115,47,106,111,104,110,47,103,105,116,47,104,101,114,109,101,115,47,95,98,117,105,108,100,47,116,101,115,116,47,108,105,98,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,47,115,114,99,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,95,97,112,112,46,101,114,108]},{line,16}]},{hermes_backend_redis_app,read_lua,1,[{file,[47,85,115,101,114,115,47,106,111,104,110,47,103,105,116,47,104,101,114,109,101,115,47,95,98,117,105,108,100,47,116,101,115,116,47,108,105,98,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,47,115,114,99,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,95,97,112,112,46,101,114,108]},{line,23}]},{hermes_backend_redis_app,'-upload_lua_scripts/0-lc$^0/1-0-',1,[{file,[47,85,115,101,114,115,47,106,111,104,110,47,103,105,116,47,104,101,114,109,101,115,47,95,98,117,105,108,100,47,116,101,115,116,47,108,105,98,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,47,115,114,99,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,95,97,112,112,46,101,114,108]},{line,35}]},{hermes_backend_redis_app,upload_lua_scripts,0,[{file,[47,85,115,101,114,115,47,106,111,104,110,47,103,105,116,47,104,101,114,109,101,115,47,95,98,117,105,108,100,47,116,101,115,116,47,108,105,98,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,47,115,114,99,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,95,97,112,112,46,101,114,108]},{line,35}]},{hermes_backend_redis_app,start,2,[{file,[47,85,115,101,114,115,47,106,111,104,110,47,103,105,116,47,104,101,114,109,101,115,47,95,98,117,105,108,100,47,116,101,115,116,47,108,105,98,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,47,115,114,99,47,104,101,114,109,101,115,95,98,97,99,107,101,110,100,95,114,101,100,105,115,95,97,112,112,46,101,114,108]},{line,45}]},{application_master,start_it_old,4,[{file,[97,112,112,108,105,99,97,116,105,111,110,95,109,97,115,116,101,114,46,101,114,108]},{line,273}]}]}}}}}}}.\r\nStacktrace: [{prop_hermes_backend_redis_channel,setup,0,\r\n                 [{file,\r\n                      \"/Users/john/git/hermes/apps/hermes_backend_redis/test/prop_hermes_backend_redis_channel.erl\"},\r\n                  {line,199}]},\r\n             {prop_hermes_backend_redis_channel,\r\n                 '-prop_rank_for_topic_strictly_monotonic/0-fun-2-',1,\r\n                 [{file,\r\n                      \"/Users/john/git/hermes/apps/hermes_backend_redis/test/prop_hermes_backend_redis_channel.erl\"},\r\n                  {line,50}]}].\r\n[]\r\n\r\nShrinking (0 time(s))\r\n[]\r\n```\r\n\r\nThe priv dir for my application `hermes_backend_redis` is failing to be found despite it being present:\r\n\r\n```\r\n ls _build/test/lib/hermes_backend_redis/priv\r\npost_message.lua\tread_messages.lua\r\n```\r\n\r\nFurthermore, if I enter the shell as test I can retrieve priv_dir as expected:\r\n````\r\n1> code:priv_dir(hermes_backend_redis).\r\n\"/Users/john/git/hermes/_build/test/lib/hermes_backend_redis/priv\"\r\n2> code:get_path().\r\n[\"/Users/john/git/hermes/_build/test/lib/hermes/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_web/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_backend_redis/test\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_backend_redis/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_common/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_stat/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hermes_config/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/gun/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/hackney/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/proper/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/elli/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/elli_websocket/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/eredis/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/jiffy/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/lager/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/poolboy/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/recon/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/statsderl/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/uuid/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/vmstats/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/certifi/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/cowlib/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/idna/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/metrics/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/mimerl/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/ranch/ebin\",\r\n \"/Users/john/git/hermes/_build/test/lib/ssl_verify_fun/ebin\",\r\n \"/Users/john/git/hermes/_build/default/lib/goldrush/ebin\",\r\n [...]|...]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ferd/rebar3_proper/issues/comments/265500716","html_url":"https://github.com/ferd/rebar3_proper/issues/12#issuecomment-265500716","issue_url":"https://api.github.com/repos/ferd/rebar3_proper/issues/12","id":265500716,"user":{"login":"pulltab","id":6842323,"avatar_url":"https://avatars.githubusercontent.com/u/6842323?v=3","gravatar_id":"","url":"https://api.github.com/users/pulltab","html_url":"https://github.com/pulltab","followers_url":"https://api.github.com/users/pulltab/followers","following_url":"https://api.github.com/users/pulltab/following{/other_user}","gists_url":"https://api.github.com/users/pulltab/gists{/gist_id}","starred_url":"https://api.github.com/users/pulltab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulltab/subscriptions","organizations_url":"https://api.github.com/users/pulltab/orgs","repos_url":"https://api.github.com/users/pulltab/repos","events_url":"https://api.github.com/users/pulltab/events{/privacy}","received_events_url":"https://api.github.com/users/pulltab/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T16:45:40Z","updated_at":"2016-12-07T16:45:40Z","body":"Thanks for looking into this @ferd.   Sorry for the late response.\r\n\r\nThe repo is private, but I am working on getting you temp access. "}}
{"actor":{"display_login":"pulltab"}}