Project

General

Profile

Bug #5151

TestAdvertiseWithdrawPrefix fails with ptree_bad_path exception

Added by Davide Pesavento 6 months ago. Updated 6 months ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This is on linux with the latest ndn-cxx master branch. I don't know why the test passes on jenkins.

../tests/update/test-save-delete-prefix.cpp(176): Entering test suite "TestAdvertiseWithdrawPrefix"
../tests/update/test-save-delete-prefix.cpp(178): Entering test case "Basic"
/usr/include/boost/property_tree/detail/ptree_implementation.hpp(576): fatal error: in "boost::property_tree::basic_ptree<K, D, C>& boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&) [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >]": /usr/include/boost/property_tree/detail/ptree_implementation.hpp(576): Throw in function boost::property_tree::basic_ptree<K, D, C>& boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&) [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >]
Dynamic exception type: boost::wrapexcept<boost::property_tree::ptree_bad_path>
std::exception::what: No such node (advertising)

../tests/update/test-save-delete-prefix.cpp(183): last checkpoint
../tests/update/test-save-delete-prefix.cpp(178): Leaving test case "Basic"; testing time: 86530us
../tests/update/test-save-delete-prefix.cpp(207): Entering test case "PrefixStillSavedAfterJustWithdrawn"
/usr/include/boost/property_tree/detail/ptree_implementation.hpp(576): fatal error: in "boost::property_tree::basic_ptree<K, D, C>& boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&) [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >]": /usr/include/boost/property_tree/detail/ptree_implementation.hpp(576): Throw in function boost::property_tree::basic_ptree<K, D, C>& boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&) [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >]
Dynamic exception type: boost::wrapexcept<boost::property_tree::ptree_bad_path>
std::exception::what: No such node (advertising)

../tests/update/test-save-delete-prefix.cpp(213): last checkpoint
../tests/update/test-save-delete-prefix.cpp(207): Leaving test case "PrefixStillSavedAfterJustWithdrawn"; testing time: 78194us
../tests/update/test-save-delete-prefix.cpp(176): Leaving test suite "TestAdvertiseWithdrawPrefix"; testing time: 164758us
#1

Updated by Davide Pesavento 6 months ago

May be caused by #4845

Also available in: Atom PDF