sigscale / snmp-collector

SNMP Manager for 3GPP Alarm IRP
Apache License 2.0
10 stars 0 forks source link

snmp_collector_api_SUITE ct run is failing #3

Open bhuvanplus opened 7 months ago

bhuvanplus commented 7 months ago

I have built and installed as explained in README.maintainer. When I tried to run the testsuite snmp_collector_api_SUITE, the testcase init_per_suite is failing. Why is it failing? Please guide me.

~/git4/snmp_collector.build/test$ ct_run -suite snmp_collector_api_SUITE CT Error Notification 2024-04-22 19:48:46.643

snmp_collector_api_SUITE:init_per_suite failed Reason: {badmatch,{error,{undefined,{snmp_collector_app,start,[norma...}

Full error description and stacktrace

=== Ended at 2024-04-22 19:48:46 === Location: [{snmp_collector_api_SUITE,init_per_suite,65}, {test_server,ts_tc,1793}, {test_server,run_test_case_eval1,1390}, {test_server,run_test_case_eval,1234}] === === Reason: no match of right hand side value {error,{undefined,{snmp_collector_app,start,[normal,[]]}}} in function snmp_collector_api_SUITE:init_per_suite/1 (../../snmp-collector/test/snmp_collector_api_SUITE.erl, line 65) in call from test_server:ts_tc/3 (test_server.erl, line 1793) in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1390) in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234) === *** init_per_suite failed. Skipping all cases.

vances commented 7 months ago

Similar problem, you haven't got the snmp_collector_app module in the code path.

Just use make check and all will be done for you.