Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2249

afb-test binding fails at init.

    XMLWordPrintable

    Details

      Description

      Recently test framework binding fails using the latest binder. Here is a trace 

       

      afm-test package package-test/*** buffer overflow detected ***: afbd-aftest-test terminated------BEGIN OF CONFIG------- {--    "name": "afbd-afbtest",--    "workdir": "/home/DD/workspace/app-afb-test/build/package",--    "port": 1235,--    "ldpaths": [--      "."--    ],--    "ws-server": [--      "unix:/tmp/aft"--    ],--    "apitimeout": 20,--    "cache-eol": 100000,--    "cntxtimeout": 32000000,--    "session-max": 200,--    "rootdir": ".",--    "uploaddir": ".",--    "rootbase": "/opa",--    "rootapi": "/api"--  }------END OF CONFIG-----<6> INFO: running with pid 28153 [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/main-afb-daemon.c:898,main]<6> INFO: API monitor added [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-apiset.c:505,afb_apiset_add]<6> INFO: Scanning dir=[.] for bindings [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so.c:165,adddirs]<6> INFO: Scanning dir=[./bin] for bindings [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so.c:165,adddirs]<6> INFO: Scanning dir=[./htdocs] for bindings [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so.c:165,adddirs]<6> INFO: Scanning dir=[./lib] for bindings [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so.c:165,adddirs]<6> INFO: binding [./lib/aft.so] looks like an AFB binding V3 [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so-v3.c:83,afb_api_so_v3_add]<7> DEBUG: [API ./lib/aft.so] Controller in afbBindingEntry [/home/DD/workspace/app-afb-test/src/aft.c:275,afbBindingV3entry]<7> DEBUG: [API ./lib/aft.so] CONFIG-SCANNING dir=/usr/local/afTest/etc not readable [/home/abuild/rpmbuild/BUILD/libafb-helpers-6.90/filescan-utils.c:39,ScanDir]<7> DEBUG: [API ./lib/aft.so] CONFIG-SCANNING dir=/opt/AGL/afTest/e not readable [/home/abuild/rpmbuild/BUILD/libafb-helpers-6.90/filescan-utils.c:39,ScanDir]<4> WARNING: [API ./lib/aft.so] CTL-INIT JSON file found but not used : /home/DD/workspace/app-afb-test/build/package/etc/aft-afbtest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<4> WARNING: [API ./lib/aft.so] CTL-INIT JSON file found but not used : ./etc/aft-afbtest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<6> INFO: [API ./lib/aft.so] CTL-LOAD-CONFIG: loading config filepath=/home/DD/workspace/app-afb-test/build/package/lib/../etc/aft-afbtest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:204,CtlLoadMetaDataUsingPrefix]<5> NOTICE: [API ./lib/aft.so] Controller API='aft' info='Binding made to test other bindings' [/home/DD/workspace/app-afb-test/src/aft.c:248,CtrlCreateApi]<6> INFO: API aft added [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-apiset.c:505,afb_apiset_add]<4> WARNING: [API aft] Plugin multiple instances in searchpath will use /home/DD/workspace/app-afb-test/build/package/lib/../var/aft.lua [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-plugin.c:244,LoadFoundPlugins]<3> ERROR: Terminating signal 6 received: Aborted [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/sig-monitor.c:213,on_signal_terminate]<3> ERROR: BACKTRACE due to signal Aborted/6: [1/35] /lib64/libc.so.6(+0x79427) [0x7fb2ca42c427] [2/35] /lib64/libc.so.6(+0x109d8e) [0x7fb2ca4bcd8e] [3/35] /lib64/libc.so.6(+0x109dc1) [0x7fb2ca4bcdc1] [4/35] /lib64/libc.so.6(+0x107c70) [0x7fb2ca4bac70] [5/35] /lib64/libc.so.6(+0x106f02) [0x7fb2ca4b9f02] [6/35] afbd-afbtest(globset_add+0xd5) [0x55b8c8668f75] [7/35] afbd-afbtest(afb_export_event_handler_add+0x24) [0x55b8c8653404] [8/35] ./lib/aft.so(+0x3bd9) [0x7fb2c76a2bd9] [9/35] afbd-afbtest(afb_api_v3_create+0x100) [0x55b8c864cb10] [10/35] afbd-afbtest(+0x1c37a) [0x55b8c865237a] [11/35] ./lib/aft.so(+0x3d6e) [0x7fb2c76a2d6e] [12/35] ./lib/aft.so(afbBindingV3entry+0x173) [0x7fb2c76a3093] [13/35] afbd-afbtest(+0x166ee) [0x55b8c864c6ee] [14/35] afbd-afbtest(+0x35df9) [0x55b8c866bdf9] [15/35] afbd-afbtest(afb_api_v3_safe_preinit+0x31) [0x55b8c864cfa1] [16/35] afbd-afbtest(+0x162be) [0x55b8c864c2be] [17/35] afbd-afbtest(afb_export_create_none_for_path+0x43) [0x55b8c8653bf3] [18/35] afbd-afbtest(afb_api_so_v3_add+0xec) [0x55b8c864c3dc] [19/35] afbd-afbtest(+0x1514f) [0x55b8c864b14f] [20/35] afbd-afbtest(+0x15567) [0x55b8c864b567] [21/35] afbd-afbtest(+0x15675) [0x55b8c864b675] [22/35] afbd-afbtest(afb_api_so_add_directory+0xe3) [0x55b8c864b8b3] [23/35] afbd-afbtest(afb_api_so_add_path+0x141) [0x55b8c864ba01] [24/35] afbd-afbtest(afb_api_so_add_pathset+0x91) [0x55b8c864baa1] [25/35] afbd-afbtest(+0x13a09) [0x55b8c8649a09] [26/35] afbd-afbtest(+0x13af9) [0x55b8c8649af9] [27/35] afbd-afbtest(+0x13b53) [0x55b8c8649b53] [28/35] afbd-afbtest(+0x14552) [0x55b8c864a552] [29/35] afbd-afbtest(+0x35df9) [0x55b8c866bdf9] [30/35] afbd-afbtest(+0x3352d) [0x55b8c866952d] [31/35] afbd-afbtest(+0x3377f) [0x55b8c866977f] [32/35] afbd-afbtest(jobs_start+0x14e) [0x55b8c866a4fe] [33/35] afbd-afbtest(main+0x2ba) [0x55b8c864970a] [34/35] /lib64/libc.so.6(__libc_start_main+0xea) [0x7fb2ca3d3f4a] [35/35] afbd-afbtest(_start+0x2a) [0x55b8c864990a] [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/sig-monitor.c:78,dumpstack]------BEGIN OF CONFIG------- {--    "name": "afbd-aftest-test",--    "port": 1234,--    "roothttp": ".",--    "tracereq": "common",--    "token": "",--    "workdir": "/home/DD/workspace/app-afb-test/build/package-test",--    "ldpaths": [--      "/home/DD/workspace/app-afb-test/build/package"--    ],--    "binding": [--      "/opt/AGL/afTest/lib/aft.so"--    ],--    "call": [--      "aft-selftest/long:{}",--      "aft-selftest/short:{}",--      "aft-selftest/exit:{}"--    ],--    "apitimeout": 20,--    "cache-eol": 100000,--    "cntxtimeout": 32000000,--    "session-max": 200,--    "uploaddir": ".",--    "rootbase": "/opa",--    "rootapi": "/api",--    "rootdir": "."--  }------END OF CONFIG-----<6> INFO: running with pid 23398 [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/main-afb-daemon.c:931,main]<6> INFO: API monitor added [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-apiset.c:505,afb_apiset_add]<6> INFO: binding [/opt/AGL/afTest/lib/aft.so] looks like an AFB binding V3 [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-api-so-v3.c:85,afb_api_so_v3_add]<7> DEBUG: [API /opt/AGL/afTest/lib/aft.so] Controller in afbBindingEntry [/home/DD/workspace/app-afb-test/src/aft.c:275,afbBindingV3entry]<7> DEBUG: [API /opt/AGL/afTest/lib/aft.so] CONFIG-SCANNING dir=/usr/local/afTest/etc not readable [/home/abuild/rpmbuild/BUILD/libafb-helpers-6.90/filescan-utils.c:39,ScanDir]<7> DEBUG: [API /opt/AGL/afTest/lib/aft.so] CONFIG-SCANNING dir=/home/DD/workspace/app-afb- not readable [/home/abuild/rpmbuild/BUILD/libafb-helpers-6.90/filescan-utils.c:39,ScanDir]<4> WARNING: [API /opt/AGL/afTest/lib/aft.so] CTL-INIT JSON file found but not used : /opt/AGL/afTest/lib/../etc/aft-aftest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<4> WARNING: [API /opt/AGL/afTest/lib/aft.so] CTL-INIT JSON file found but not used : /home/DD/workspace/app-afb-test/build/package-test/etc/aft-aftest-selftest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<4> WARNING: [API /opt/AGL/afTest/lib/aft.so] CTL-INIT JSON file found but not used : ./etc/aft-aftest-selftest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<4> WARNING: [API /opt/AGL/afTest/lib/aft.so] CTL-INIT JSON file found but not used : /opt/AGL/afTest/etc/aft-aftest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:93,ConfigSearch]<6> INFO: [API /opt/AGL/afTest/lib/aft.so] CTL-LOAD-CONFIG: loading config filepath=/home/DD/workspace/app-afb-test/build/package-test/etc/aft-aftest-selftest.json [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-config.c:204,CtlLoadMetaDataUsingPrefix]<5> NOTICE: [API /opt/AGL/afTest/lib/aft.so] Controller API='aft-selftest' info='Binding made to test other bindings' [/home/DD/workspace/app-afb-test/src/aft.c:248,CtrlCreateApi]<6> INFO: API aft-selftest added [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-apiset.c:505,afb_apiset_add]<6> INFO: API low-can added [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/afb-apiset.c:505,afb_apiset_add]<4> WARNING: [API low-can] Plugin multiple instances in searchpath will use /home/DD/workspace/app-afb-test/build/package-test/var/mapi_low-can.lua [/home/abuild/rpmbuild/BUILD/libappcontroller-6.90/ctl-lib/ctl-plugin.c:244,LoadFoundPlugins]<3> ERROR: Terminating signal 6 received: Aborted [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/sig-monitor.c:329,on_signal_terminate]<3> ERROR: BACKTRACE due to signal Aborted/6: [1/30] /lib64/libc.so.6(+0x79427) [0x7ff83f77a427] [2/30] /lib64/libc.so.6(+0x109d8e) [0x7ff83f80ad8e] [3/30] /lib64/libc.so.6(+0x109dc1) [0x7ff83f80adc1] [4/30] /lib64/libc.so.6(+0x107c70) [0x7ff83f808c70] [5/30] /lib64/libc.so.6(+0x106f02) [0x7ff83f807f02] [6/30] afbd-aftest-test(globset_add+0xd5) [0x55765e70acd5] [7/30] afbd-aftest-test(afb_export_event_handler_add+0x24) [0x55765e6f5634] [8/30] /opt/AGL/afTest/lib/aft.so(+0x3bd9) [0x7ff83c9f0bd9] [9/30] afbd-aftest-test(afb_api_v3_create+0x100) [0x55765e6eec70] [10/30] afbd-aftest-test(+0x1c54a) [0x55765e6f454a] [11/30] /opt/AGL/afTest/lib/aft.so(+0x3d6e) [0x7ff83c9f0d6e] [12/30] /opt/AGL/afTest/lib/aft.so(afbBindingV3entry+0x173) [0x7ff83c9f1093] [13/30] afbd-aftest-test(+0x1684e) [0x55765e6ee84e] [14/30] afbd-aftest-test(+0x35619) [0x55765e70d619] [15/30] afbd-aftest-test(afb_api_v3_safe_preinit+0x31) [0x55765e6ef101] [16/30] afbd-aftest-test(+0x1641e) [0x55765e6ee41e] [17/30] afbd-aftest-test(afb_export_create_none_for_path+0x43) [0x55765e6f5d73] [18/30] afbd-aftest-test(afb_api_so_v3_add+0xec) [0x55765e6ee53c] [19/30] afbd-aftest-test(+0x152af) [0x55765e6ed2af] [20/30] afbd-aftest-test(+0x13b19) [0x55765e6ebb19] [21/30] afbd-aftest-test(+0x13c09) [0x55765e6ebc09] [22/30] afbd-aftest-test(+0x13c63) [0x55765e6ebc63] [23/30] afbd-aftest-test(+0x14658) [0x55765e6ec658] [24/30] afbd-aftest-test(+0x35619) [0x55765e70d619] [25/30] afbd-aftest-test(+0x332ed) [0x55765e70b2ed] [26/30] afbd-aftest-test(+0x3351f) [0x55765e70b51f] [27/30] afbd-aftest-test(jobs_start+0x14e) [0x55765e70bf5e] [28/30] afbd-aftest-test(main+0x2ba) [0x55765e6eb81a] [29/30] /lib64/libc.so.6(__libc_start_main+0xea) [0x7ff83f721f4a] [30/30] afbd-aftest-test(_start+0x2a) [0x55765e6eba1a] [/home/abuild/rpmbuild/BUILD/app-framework-binder-6.90/src/sig-monitor.c:103,dumpstack]Error: Test launch failed.Error: Exit Code: 1
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            DDTLK Frédéric Marec
            Reporter:
            claneys Romain Forlot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: