{"action":"closed","issue":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/141","repository_url":"https://api.github.com/repos/pluskid/Mocha.jl","labels_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/141/comments","events_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/141/events","html_url":"https://github.com/pluskid/Mocha.jl/issues/141","id":109424797,"number":141,"title":"Pkg.test(\"Mocha\") has errors","user":{"login":"ltrottier","id":14935326,"avatar_url":"https://avatars.githubusercontent.com/u/14935326?v=3","gravatar_id":"","url":"https://api.github.com/users/ltrottier","html_url":"https://github.com/ltrottier","followers_url":"https://api.github.com/users/ltrottier/followers","following_url":"https://api.github.com/users/ltrottier/following{/other_user}","gists_url":"https://api.github.com/users/ltrottier/gists{/gist_id}","starred_url":"https://api.github.com/users/ltrottier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltrottier/subscriptions","organizations_url":"https://api.github.com/users/ltrottier/orgs","repos_url":"https://api.github.com/users/ltrottier/repos","events_url":"https://api.github.com/users/ltrottier/events{/privacy}","received_events_url":"https://api.github.com/users/ltrottier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-02T03:46:08Z","updated_at":"2016-03-23T19:41:20Z","closed_at":"2016-03-23T19:41:20Z","body":"\r\nWhen I test Mocha, I get the following error. I'm using Julia Version 0.3.11 and Mocha v0.0.9\r\n```julia\r\njulia> Pkg.test(\"Mocha\")\r\nINFO: Testing Mocha\r\nConfiguring Mocha...\r\n * CUDA       disabled by default\r\n * Native Ext disabled by default\r\nMocha configured, continue loading module...\r\n-- Testing network topology with duplicated blobs\r\n01-Oct 23:43:35:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:35:INFO:root:Topological sorting 1 layers...\r\n01-Oct 23:43:36:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:36:INFO:root:Topological sorting 2 layers...\r\n-- Testing network topology with missing blobs\r\n01-Oct 23:43:36:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:36:INFO:root:Topological sorting 1 layers...\r\n-- Testing network topology with circular dependency\r\n01-Oct 23:43:36:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:36:INFO:root:Topological sorting 2 layers...\r\n-- Testing network topology with multiple back-propagate path\r\n    > Good blob sharing\r\n01-Oct 23:43:36:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:36:INFO:root:Topological sorting 5 layers...\r\n01-Oct 23:43:36:INFO:root:Setup layers...\r\n01-Oct 23:43:37:INFO:root:Network constructed!\r\n01-Oct 23:43:37:DEBUG:root:Destroying network net\r\n    > Bad blob sharing\r\n01-Oct 23:43:37:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:37:INFO:root:Topological sorting 6 layers...\r\n01-Oct 23:43:37:INFO:root:Setup layers...\r\n01-Oct 23:43:37:INFO:root:Network constructed!\r\n-- Testing network topology with dangling blob\r\n    > Good case\r\n01-Oct 23:43:37:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:37:INFO:root:Topological sorting 4 layers...\r\n01-Oct 23:43:37:INFO:root:Setup layers...\r\n01-Oct 23:43:38:INFO:root:Network constructed!\r\n01-Oct 23:43:38:DEBUG:root:Destroying network net\r\n    > Bad case\r\n01-Oct 23:43:38:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:38:INFO:root:Topological sorting 4 layers...\r\n01-Oct 23:43:38:INFO:root:Setup layers...\r\n01-Oct 23:43:38:INFO:root:Network constructed!\r\n01-Oct 23:43:38:DEBUG:root:Destroying network net\r\n    > Good case 2\r\n01-Oct 23:43:38:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:38:INFO:root:Topological sorting 5 layers...\r\n01-Oct 23:43:38:INFO:root:Setup layers...\r\n01-Oct 23:43:38:INFO:root:Network constructed!\r\n01-Oct 23:43:38:DEBUG:root:Destroying network net\r\n    > Bad case 2\r\n01-Oct 23:43:38:INFO:root:Constructing net net on CPUBackend...\r\n01-Oct 23:43:38:INFO:root:Topological sorting 6 layers...\r\n01-Oct 23:43:38:INFO:root:Setup layers...\r\n01-Oct 23:43:38:INFO:root:Network constructed!\r\n01-Oct 23:43:38:DEBUG:root:Destroying network net\r\n-- Testing gradients on simple network (example for gradient checking code)\r\n01-Oct 23:43:39:INFO:root:Constructing net TEST on CPUBackend...\r\n01-Oct 23:43:39:INFO:root:Topological sorting 4 layers...\r\n01-Oct 23:43:39:INFO:root:Setup layers...\r\n01-Oct 23:43:39:INFO:root:Network constructed!\r\nWarning: could not attach metadata for @simd loop.\r\nWarning: could not attach metadata for @simd loop.\r\n-- Testing simple reference counting...\r\n-- Testing glob Utilities\r\n-- Testing RawBLAS{Float32} Utilities\r\n-- Testing RawBLAS{Float64} Utilities\r\n-- Testing blob reshape on CPUBackend{Float32}...\r\n-- Testing blob reshape on CPUBackend{Float64}...\r\n-- Testing ReLU neuron on CPUBackend{Float32}...\r\n    > Forward\r\n    > Backward\r\n-- Testing ReLU neuron on CPUBackend{Float64}...\r\n    > Forward\r\n    > Backward\r\n-- Testing Sigmoid neuron on CPUBackend{Float32}...\r\n    > Forward\r\n    > Backward\r\n-- Testing Sigmoid neuron on CPUBackend{Float64}...\r\n    > Forward\r\n    > Backward\r\n-- Testing Tanh neuron on CPUBackend{Float32}...\r\n    > Forward\r\n    > Backward\r\n-- Testing Tanh neuron on CPUBackend{Float64}...\r\n    > Forward\r\n    > Backward\r\n-- Testing L2 regularizer on CPUBackend{Float32}...\r\n-- Testing L2 regularizer on CPUBackend{Float64}...\r\n-- Testing L1 regularizer on CPUBackend{Float32}...\r\n-- Testing L1 regularizer on CPUBackend{Float64}...\r\n-- Testing L2 constraint on CPUBackend{Float32}...\r\n-- Testing L2 constraint on CPUBackend{Float64}...\r\n-- Testing DataTransformers on CPUBackend{Float32}...\r\n    > SubMean\r\n    > Scale\r\n-- Testing DataTransformers on CPUBackend{Float64}...\r\n    > SubMean\r\n    > Scale\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} ...\r\n    > (9,11) (operate on dimension 1)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} ...\r\n    > (11,7,9,7) (operate on dimension 1)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} ...\r\n    > (6,6,8,6,8) (operate on dimension 3)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} (with weights)...\r\n    > (9,9) (operate on dimension 1)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} (with weights)...\r\n    > (10,10,7,9) (operate on dimension 3)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float64} (with weights)...\r\n    > (9,10,10,11,9) (operate on dimension 4)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} ...\r\n    > (7,8) (operate on dimension 1)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} ...\r\n    > (11,10,9,8) (operate on dimension 2)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} ...\r\n    > (7,10,9,7,7) (operate on dimension 4)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} (with weights)...\r\n    > (11,7) (operate on dimension 1)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} (with weights)...\r\n    > (8,9,11,8) (operate on dimension 3)\r\n    > Forward\r\n    > Backward\r\n-- Testing SoftmaxLossLayer on CPUBackend{Float32} (with weights)...\r\n    > (11,8,8,6,8) (operate on dimension 4)\r\n    > Forward\r\n    > Backward\r\n-- Testing PowerLayer on CPUBackend{Float32}...\r\n    > scale=0.25, shift=0.9, power=2, tensor_dim=1\r\n    > scale=0, shift=0.24, power=4, tensor_dim=1\r\n    > scale=0.95, shift=0.7, power=2, tensor_dim=3\r\n    > scale=0.29, shift=0, power=3, tensor_dim=2\r\n    > scale=0.81, shift=0.43, power=4, tensor_dim=1\r\n    > scale=0.74, shift=0.8, power=0, tensor_dim=3\r\n    > scale=0.74, shift=0.36, power=1, tensor_dim=1\r\n    > scale=0.43, shift=0.86, power=-1, tensor_dim=3\r\n-- Testing PowerLayer on CPUBackend{Float64}...\r\n    > scale=0.25, shift=0.92, power=2, tensor_dim=6\r\n    > scale=0, shift=0.13, power=5, tensor_dim=4\r\n    > scale=0.51, shift=0.51, power=2, tensor_dim=2\r\n    > scale=0.9, shift=0, power=3, tensor_dim=3\r\n    > scale=0.9, shift=0.51, power=4, tensor_dim=5\r\n    > scale=0.93, shift=0.1, power=0, tensor_dim=1\r\n    > scale=0.53, shift=0.91, power=1, tensor_dim=2\r\n    > scale=0.6, shift=0.02, power=-1, tensor_dim=2\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float64}...\r\n    > [10,7] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float64}...\r\n    > [8,6,8,11] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float64}...\r\n    > [7,8,9,10,7] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float64}...\r\n    > [8,6] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float64}...\r\n    > [8,6,9,8] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float64}...\r\n    > [6,11,8,11,8] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float64}...\r\n    > [7,11] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float64}...\r\n    > [6,9,8,6] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float64}...\r\n    > [10,9,9,10,11] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float64}...\r\n    > [10,11] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float64}...\r\n    > [6,8,8,10] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float64}...\r\n    > [8,10,8,10,7] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float64}...\r\n    > [7,10] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float64}...\r\n    > [11,11,6,10] (operate on dimension 2)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float64}...\r\n    > [7,6,10,6,11] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float32}...\r\n    > [11,7] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float32}...\r\n    > [11,8,11,10] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{equal,local} on CPUBackend{Float32}...\r\n    > [7,7,7,8,6] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float32}...\r\n    > [9,9] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float32}...\r\n    > [9,7,6,11] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{local,local} on CPUBackend{Float32}...\r\n    > [9,6,7,10,9] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float32}...\r\n    > [11,10] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float32}...\r\n    > [8,9,7,10] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{global,global} on CPUBackend{Float32}...\r\n    > [7,6,8,6,11] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float32}...\r\n    > [8,10] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float32}...\r\n    > [9,11,11,9] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{global,local} on CPUBackend{Float32}...\r\n    > [11,6,6,7,9] (operate on dimension 4)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float32}...\r\n    > [6,6] (operate on dimension 1)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float32}...\r\n    > [7,6,9,10] (operate on dimension 3)\r\n-- Testing MultinomialLogisticLossLayer{no,no} on CPUBackend{Float32}...\r\n    > [9,6,7,11,9] (operate on dimension 3)\r\n-- Testing Convolution(frozen=true) on CPUBackend{Float64} filter=(3,4)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=false) on CPUBackend{Float64} filter=(3,4)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=true) on CPUBackend{Float64} filter=(1,1)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=false) on CPUBackend{Float64} filter=(1,1)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=true) on CPUBackend{Float32} filter=(3,4)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=false) on CPUBackend{Float32} filter=(3,4)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=true) on CPUBackend{Float32} filter=(1,1)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\n-- Testing Convolution(frozen=false) on CPUBackend{Float32} filter=(1,1)...\r\n    > Setup\r\n    > Forward\r\n    > Backward\r\nERROR: test failed: is_grad_filter_match\r\n in error at error.jl:21\r\n in default_handler at test.jl:19\r\n in do_test at test.jl:39\r\n in test_convolution_layer at /home/ludovic/.julia/v0.3/Mocha/test/layers/convolution.jl:78\r\n in test_convolution_layer at /home/ludovic/.julia/v0.3/Mocha/test/layers/convolution.jl:183\r\n in test_convolution_layer at /home/ludovic/.julia/v0.3/Mocha/test/layers/convolution.jl:196\r\n in include at ./boot.jl:245\r\n in include_from_node1 at ./loading.jl:128\r\n in anonymous at /home/ludovic/.julia/v0.3/Mocha/test/runtests.jl:26\r\n in map_to! at abstractarray.jl:1311\r\n in map at abstractarray.jl:1331\r\n in test_dir at /home/ludovic/.julia/v0.3/Mocha/test/runtests.jl:25\r\n in include at ./boot.jl:245\r\n in include_from_node1 at loading.jl:128\r\n in process_options at ./client.jl:285\r\n in _start at ./client.jl:354\r\nwhile loading /home/ludovic/.julia/v0.3/Mocha/test/layers/convolution.jl, in expression starting on line 199\r\nwhile loading /home/ludovic/.julia/v0.3/Mocha/test/runtests.jl, in expression starting on line 79\r\n=======================================================[ ERROR: Mocha ]=======================================================\r\n\r\nfailed process: Process(`/usr/bin/julia /home/ludovic/.julia/v0.3/Mocha/test/runtests.jl`, ProcessExited(1)) [1]\r\n\r\n==============================================================================================================================\r\nINFO: No packages to install, update or remove\r\nERROR: Mocha had test errors\r\n in error at error.jl:21\r\n in test at pkg/entry.jl:718\r\n in anonymous at pkg/dir.jl:28\r\n in cd at ./file.jl:20\r\n in cd at pkg/dir.jl:28\r\n in test at pkg.jl:67\r\n```"}}