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

test wgt can not run all the case in *.lua

XMLWordPrintable

      e.g.  agl-service-bluetooth-test.wgt

      There are 15 cases in https://git.automotivelinux.org/apps/agl-service-bluetooth/tree/test/afb-test/tests/bluetooth.lua

      But afm-test ./agl-service-bluetooth-test.wgt  only run the first 11 cases.

      raspberrypi3:/usr/AGL/apps/testwgt$ afm-test ./agl-service-bluetooth-test.wgt 
      /usr/bin/afm-test: line 86: /run/platform/debug//agl-service-bluetooth-test@2.0-a0ebd0e.env: Permission denied
      PASS: agl-service-bluetooth-test@2.0-a0ebd0e started with pid=1425
      ERROR:  failed Resource temporarily unavailable
      FAIL: 1 testBtVersionSuccess.testFunction
      PASS: 2 testBtDefaultAdapterSuccess.testFunction
      PASS: 3 testBtSubscribeDevChgSuccess.testFunction
      PASS: 4 testBtSubscribeAdpChgSuccess.testFunction
      PASS: 5 testBtSubscribeMediaSuccess.testFunction
      PASS: 6 testBtSubscribeAgentSuccess.testFunction
      PASS: 7 testBtUnSubscribeDevChgSuccess.testFunction
      PASS: 8 testBtUnSubscribeAdpChgSuccess.testFunction
      PASS: 9 testBtUnSubscribeMediaSuccess.testFunction
      PASS: 10 testBtUnSubscribeAgentSuccess.testFunction
      PASS: 11 testBtManagedObjsSuccess.testFunction
      PASS: agl-service-bluetooth-test@2.0-a0ebd0e killed and removed
      raspberrypi3:/usr/AGL/apps/testwgt$ whoami
      agl-driver
      
      

       

       

      e.g. II:   agl-service-network-test.wgt

      There are 25 cases in https://git.automotivelinux.org/apps/agl-service-network/tree/test/afb-test/tests/network.lua

      But  afm-test ./agl-service-network-test.wgt only run the first 15 cases

      raspberrypi3:/usr/AGL/apps/testwgt$ afm-test ./agl-service-network-test.wgt 
      find: /home/1001/app-data/agl-service-network-test: No such file or directory
      /usr/bin/afm-test: line 86: /run/platform/debug//agl-service-network-test@1.0-24dd794.env: Permission denied
      PASS: agl-service-network-test@1.0-24dd794 started with pid=1254
      ERROR:  failed Resource temporarily unavailable
      PASS: 1 testSubscribeASuccess.testFunction
      PASS: 2 testSubscribeBSuccess.testFunction
      PASS: 3 testSubscribeCSuccess.testFunction
      PASS: 4 testSubscribeDSuccess.testFunction
      PASS: 5 testSubscribeESuccess.testFunction
      PASS: 6 testSubscribeFSuccess.testFunction
      PASS: 7 testUnsubscribeASuccess.testFunction
      PASS: 8 testUnsubscribeBSuccess.testFunction
      PASS: 9 testUnsubscribeCSuccess.testFunction
      PASS: 10 testUnsubscribeDSuccess.testFunction
      PASS: 11 testUnsubscribeESuccess.testFunction
      PASS: 12 testUnsubscribeFSuccess.testFunction
      PASS: 13 testStateSuccess.testFunction
      PASS: 14 testOfflineSuccess.testFunction
      PASS: 15 testTechnologiesSuccess.testFunction
      PASS: agl-service-network-test@1.0-24dd794 killed and removed
      
      

        # Subject Branch Project Status CR V

            scottm Scott Murray
            LiXiaoming Li Xiaoming
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: