open-horizon / devops

Devops processes to build and deploy horizon components
Apache License 2.0
10 stars 43 forks source link

`test-mgmt-hub.sh` fails after fresh install through all-in-one script #165

Closed jvidalallende closed 4 months ago

jvidalallende commented 5 months ago

After installing OpenHorizon through the all-in-one script on a recently created virtual machine with Ubuntu 22.04 (x86-64), I followed the what to do next guide and attempted to run the tests, but they failed:

root@oh-vm:/home/jvidal/src# ./test-mgmt-hub.sh 
testMgmtHubServices
ASSERT:
shunit2:ERROR testMgmtHubServices() returned non-zero return code.
testDefaultsFile
ASSERT:
testAgent
testEdgeService
testExchangeHubAdmin
testExchangeSystemOrg
testExchangeUserOrg
testMms

Ran 8 tests.

FAILED (failures=2)

The reason for the failure is that tests are looking for SDO-related services, which are not deployed by the all-in-one script (FDO-service is in place)

jvidalallende commented 4 months ago

Fixed by #163