Thanks, Jiri. Now, I am able to see why tests are failing. It is probably because of missing ruby packages.
Here is the error log /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require': libsasl2.so.3: cannot open shared object file: No such file or directory - /usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/cproton.so (LoadError) 42: from /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /path/to/qpid-proton/ruby/lib/qpid_proton.rb:19:in `<top (required)>' 42: from /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /path/to/qpid-proton/ruby/spec/spec_helper.rb:22:in `<top (required)>' 42: from /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:54:in `require' 42: from /path/to/qpid-proton/ruby/spec/hash_spec.rb:20:in `<main>' How can I go around solving this? On Thu, Apr 1, 2021 at 3:52 PM Jiri Daněk <[email protected]> wrote: > On Thu, Apr 1, 2021 at 12:05 PM Kajal Sah <[email protected]> wrote: > > > Thanks, mehaboob. I was indeed missing JsonCpp but installing that didn't > > help either. Apart from that, I think I have all the libraries and > packages > > installed. Somehow, I think getting error log of the failing tests will > > help me debug better. > > > > That is probably the reason CI does not run `make test`, but it instead > does `cd build; ctest -VV`. At the least, you'd see printed the exact > command that is executed to run the tests, so you can then use it to run > the binary in a debugger yourself (if you get a segfault before)... > > If you do `make test`, then there might be some kind of more telling log in > build/Testing directory, but I cannot vouch for that. I always used ctest > -VV with CMake projects, never `make test`. > > I'd be interested in knowing what the test errors without jsoncpp were... >
