Created
June 30, 2014 15:14
-
-
Save emiltin/41b929786b009f788be5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/code/Project-OSRM$ (experimental/cuke_datastore *) cuke features/datastore/datastore.feature | |
| Ruby version 2.0.0 | |
| Using default port 5000 | |
| Using default timeout 2 | |
| Using the default profile... | |
| @datastore | |
| Feature: Loading data through datastore | |
| # Normally when launching osrm-routed, it will keep running as a server until it's shut down. | |
| # For testing program options, the --trial option is used, which causes osrm-routed to quit | |
| # immediately after initialization. This makes testing easier and faster. | |
| # | |
| # The {base} part of the options to osrm-routed will be expanded to the actual base path of | |
| # the preprocessed file. | |
| Background: # features/datastore/datastore.feature:10 | |
| Given the profile "testbot" # features/step_definitions/data.rb:1 | |
| Scenario: Load data with osrm-datastore - medium size # features/datastore/datastore.feature:13 | |
| Given the node map # features/step_definitions/data.rb:23 | |
| | a | b | c | | |
| | d | e | f | | |
| And the ways # features/step_definitions/data.rb:62 | |
| | nodes | | |
| | abc | | |
| | def | | |
| | ad | | |
| | be | | |
| | cf | | |
| And the data has been prepared # features/step_definitions/data.rb:154 | |
| When I run "osrm-datastore --springclean" # features/step_definitions/options.rb:17 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| And stdout should contain /^\[info\] spring-cleaning all shared memory regions/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| When I run "osrm-datastore {base}.osrm" # features/step_definitions/options.rb:17 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| And stdout should contain /^\[info\] all data loaded/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| sh: line 1: 74384 Abort trap: 6 /Users/emil/code/Project-OSRM/build/osrm-routed --sharedmemory --trial 2> error.log | |
| When I run "osrm-routed --sharedmemory --trial" # features/step_definitions/options.rb:1 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| expected: "" | |
| got: "***** Internal Program Error - assertion (m_size != 0 || other.size() != 0) failed in void SharedMemoryWrapper<unsigned int>::swap(SharedMemoryWrapper<DataT> &) [DataT = unsigned int]:\n/Users/emil/code/Project-OSRM/Library/../Server/DataStructures/../../DataStructures/SharedMemoryVectorWrapper.h(81): size invalid\n" (using ==) | |
| Diff: | |
| @@ -1 +1,3 @@ | |
| +***** Internal Program Error - assertion (m_size != 0 || other.size() != 0) failed in void SharedMemoryWrapper<unsigned int>::swap(SharedMemoryWrapper<DataT> &) [DataT = unsigned int]: | |
| +/Users/emil/code/Project-OSRM/Library/../Server/DataStructures/../../DataStructures/SharedMemoryVectorWrapper.h(81): size invalid | |
| (RSpec::Expectations::ExpectationNotMetError) | |
| ./features/step_definitions/options.rb:48:in `/^stderr should be empty$/' | |
| features/datastore/datastore.feature:37:in `Then stderr should be empty' | |
| And stdout should contain /^\[info\] starting up engines/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /\d{1,2}\.\d{1,2}\.\d{1,2}/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /compiled at/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] loaded plugin: viaroute/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] trial run/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] shutdown completed/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| Scenario: Load data with osrm-datastore - small size # features/datastore/datastore.feature:46 | |
| Given the node map # features/step_definitions/data.rb:23 | |
| | a | b | | |
| And the ways # features/step_definitions/data.rb:62 | |
| | nodes | | |
| | ab | | |
| And the data has been prepared # features/step_definitions/data.rb:154 | |
| When I run "osrm-datastore --springclean" # features/step_definitions/options.rb:17 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| And stdout should contain /^\[info\] spring-cleaning all shared memory regions/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| When I run "osrm-datastore {base}.osrm" # features/step_definitions/options.rb:17 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| And stdout should contain /^\[info\] all data loaded/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| sh: line 1: 74397 Abort trap: 6 /Users/emil/code/Project-OSRM/build/osrm-routed --sharedmemory --trial 2> error.log | |
| When I run "osrm-routed --sharedmemory --trial" # features/step_definitions/options.rb:1 | |
| Then stderr should be empty # features/step_definitions/options.rb:47 | |
| expected: "" | |
| got: "***** Internal Program Error - assertion (m_size != 0 || other.size() != 0) failed in void SharedMemoryWrapper<unsigned int>::swap(SharedMemoryWrapper<DataT> &) [DataT = unsigned int]:\n/Users/emil/code/Project-OSRM/Library/../Server/DataStructures/../../DataStructures/SharedMemoryVectorWrapper.h(81): size invalid\n" (using ==) | |
| Diff: | |
| @@ -1 +1,3 @@ | |
| +***** Internal Program Error - assertion (m_size != 0 || other.size() != 0) failed in void SharedMemoryWrapper<unsigned int>::swap(SharedMemoryWrapper<DataT> &) [DataT = unsigned int]: | |
| +/Users/emil/code/Project-OSRM/Library/../Server/DataStructures/../../DataStructures/SharedMemoryVectorWrapper.h(81): size invalid | |
| (RSpec::Expectations::ExpectationNotMetError) | |
| ./features/step_definitions/options.rb:48:in `/^stderr should be empty$/' | |
| features/datastore/datastore.feature:65:in `Then stderr should be empty' | |
| And stdout should contain /^\[info\] starting up engines/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /\d{1,2}\.\d{1,2}\.\d{1,2}/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /compiled at/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] loaded plugin: viaroute/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] trial run/ # features/step_definitions/options.rb:33 | |
| And stdout should contain /^\[info\] shutdown completed/ # features/step_definitions/options.rb:33 | |
| And it should exit with code 0 # features/step_definitions/options.rb:21 | |
| Failing Scenarios: | |
| cucumber features/datastore/datastore.feature:13 # Scenario: Load data with osrm-datastore - medium size | |
| cucumber features/datastore/datastore.feature:46 # Scenario: Load data with osrm-datastore - small size | |
| 2 scenarios (2 failed) | |
| 42 steps (2 failed, 14 skipped, 26 passed) | |
| 0m4.290s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment