Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Data
 - 
                        HD-Enabler:Orion
 
Description
Created question in FIWARE Q/A platform on 03-08-2017 at 10:08
Please, ANSWER this question AT https://stackoverflow.com/questions/45479012/orion-context-broker-functional-test-failure
Question:
Orion Context Broker functional test failure
Description:
I have successfully forked and built the Context Broker source code on a CentOS 6.9 VM and now I am trying to run the functional tests as the official documentation suggests. First, I installed the accumulator-server.py script:
$ make install_scripts INSTALL_DIR=~
Verified that it is installed:
$ accumulator-server.py -u
Usage: accumulator-server.py --host <host> --port <port> --url <server url> --pretty-print -v -u
Parameters:
  --host <host>: host to use database to use (default is '0.0.0.0')
  --port <port>: port to use (default is 1028)
  --url <server url>: server URL to use (default is /accumulate)
  --pretty-print: pretty print mode
  --https: start in https
  --key: key file (only used if https is enabled)
  --cert: cert file (only used if https is enabled)
  -v: verbose mode
  -u: print this usage message
And then run the functional tests:
$ make functional_test INSTALL_DIR=~
But the test fails and exits with the message below:
024/927: 0000_ipv6_support/ipv4_ipv6_both.test ........................................................................  (FAIL 11 - SHELL-INIT exited with code 1) testHarness.sh/IPv6 IPv4 Both : (0000_ipv6_support/ipv4_ipv6_both.test) 
make: *** [functional_test] Error 11
$
I checked the file ../0000_ipv6_support/ipv4_ipv6_both.shellInit.stdout for any hint on what may be going wrong but error log does not lead me anywhere:
{ "dropped" : "ftest", "ok" : 1 }accumulator running as PID 6404
Unable to start listening application after waiting 30
Does anyone have any idea about what may be going wrong here?
2018-01-12 19:51|CREATED monitor | # answers= 1, accepted answer= True