Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B67EFC6FA82 for ; Thu, 22 Sep 2022 07:10:44 +0000 (UTC) Subject: testimage.bbclass - error in running standard test on a target device To: yocto@lists.yoctoproject.org From: bahugunaayush8@gmail.com X-Originating-Location: Karwar, Karnataka, IN (182.74.65.130) X-Originating-Platform: Linux Firefox 104 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 22 Sep 2022 00:10:38 -0700 Message-ID: Content-Type: multipart/alternative; boundary="58NSLDEVZKG9RkT1KAh2" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 22 Sep 2022 07:10:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/58131 --58NSLDEVZKG9RkT1KAh2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Friends, I am new to this technology, please let me know if i missed any detail that= is required to make my query more understandable . I am trying standard te= st on target device using TEST_TARGET =3D "simpleremote" , i have followed following steps on the given link - https://wiki.yoctoproje= ct.org/wiki/BSP_Test_Plan I am building core-image-weston on imx6 device. I am building "core-image-weston" on "imx6" I ran command -- bitbake core-i= mage-weston -c testimage I got following logs--- NOTE: ---------------------------------------------------------------------= - NOTE: Ran 61 tests in 438.855s NOTE: FAILED NOTE:=C2=A0 (failures=3D2, errors=3D1, skipped=3D16) ERROR: Error executing a python function in exec_python_func() autogenerate= d: The stack trace of python calls that resulted in this exception/failure was= : File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_testimage(d) 0003: File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/classes/testimag= e.bbclass', lineno: 114, function: do_testimage 0110:=C2=A0=C2=A0=C2=A0 netstat -an 0111:} 0112: 0113:python do_testimage() { *** 0114:=C2=A0=C2=A0 testimage_main(d) 0115:} 0116: 0117:addtask testimage 0118:do_testimage[nostamp] =3D "1" File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/classes/testimag= e.bbclass', lineno: 320, function: testimage_main 0316: 0317:=C2=A0=C2=A0=C2=A0 # Show results (if we have them) 0318:=C2=A0=C2=A0=C2=A0 if not results: 0319:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bb.fatal('%s - FAILED - tes= ts were interrupted during execution' % pn, forcelog=3DTrue) *** 0320:=C2=A0=C2=A0=C2=A0 configuration =3D get_testimage_configuration(d= , 'runtime', machine) 0321:=C2=A0=C2=A0=C2=A0 results.logDetails(get_testimage_json_result_dir(d)= , 0322:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 configurati= on, 0323:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 get_testima= ge_result_id(configuration), 0324:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dump_stream= s=3Dd.getVar('TESTREPORT_FULLLOGS')) File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/classes/testimag= e.bbclass', lineno: 139, function: get_testimage_configuration 0135:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'IMAGE_BASENAME': d.getVar("I= MAGE_BASENAME"), 0136:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'IMAGE_PKGTYPE': d.getVar("IM= AGE_PKGTYPE"), 0137:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'STARTTIME': d.getVar("DATETI= ME"), 0138:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'HOST_DISTRO': oe.lsb.distro_= identifier().replace(' ', '-'), *** 0139:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'LAYERS': get_layers(d.get= Var("BBLAYERS"))} 0140:=C2=A0=C2=A0=C2=A0 return configuration 0141:get_testimage_configuration[vardepsexclude] =3D "DATETIME" 0142: 0143:def get_testimage_json_result_dir(d): File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/lib/oeqa/utils/m= etadata.py', lineno: 97, function: get_layers 0093:=C2=A0=C2=A0=C2=A0 """Returns layer information in dict format""" 0094:=C2=A0=C2=A0=C2=A0 layer_dict =3D OrderedDict() 0095:=C2=A0=C2=A0=C2=A0 for layer in layers.split(): 0096:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 layer_name =3D os.path.base= name(layer) *** 0097:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 layer_dict[layer_name] = =3D git_rev_info(layer) 0098:=C2=A0=C2=A0=C2=A0 return layer_dict 0099: 0100:def write_metadata_file(file_path, metadata): 0101:=C2=A0=C2=A0=C2=A0 """ Writes metadata to a XML file in directory. """ File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/lib/oeqa/utils/m= etadata.py', lineno: 84, function: git_rev_info 0080:=C2=A0=C2=A0=C2=A0 try: 0081:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 repo =3D Repo(path, search_= parent_directories=3DTrue) 0082:=C2=A0=C2=A0=C2=A0 except (InvalidGitRepositoryError, NoSuchPathError)= : 0083:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return info *** 0084:=C2=A0=C2=A0=C2=A0 info['commit'] =3D repo.head.commit.hexsha 0085:=C2=A0=C2=A0=C2=A0 info['commit_count'] =3D repo.head.commit.count() 0086:=C2=A0=C2=A0=C2=A0 try: 0087:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 info['branch'] =3D repo.act= ive_branch.name 0088:=C2=A0=C2=A0=C2=A0 except TypeError: File: '/usr/lib/python3/dist-packages/git/refs/symbolic.py', lineno: 197, f= unction: _get_commit 0193:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """ 0194:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :return: 0195:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Com= mit object we point to, works for detached and non-detached 0196:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Sym= bolicReferences. The symbolic reference will be dereferenced recursively.""= " *** 0197:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 obj =3D self._get_objec= t() 0198:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if obj.type =3D=3D 'tag': 0199:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 obj= =3D obj.object 0200:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # END dereference tag 0201: File: '/usr/lib/python3/dist-packages/git/refs/symbolic.py', lineno: 190, f= unction: _get_object 0186:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The= object our ref currently refers to. Refs can be cached, they will 0187:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 alw= ays point to the actual object as it gets re-created on each query""" 0188:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # have to be dynamic here a= s we may be a tag which can point to anything 0189:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Our path will be resolved= to the hexsha which will be used accordingly *** 0190:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return Object.new_from_= sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path))= ) 0191: 0192:=C2=A0=C2=A0=C2=A0 def _get_commit(self): 0193:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """ 0194:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :return: File: '/usr/lib/python3/dist-packages/git/refs/symbolic.py', lineno: 132, f= unction: dereference_recursive 0128:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :return: hexsha stored in t= he reference at the given ref_path, recursively dereferencing all 0129:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int= ermediate references as required 0130:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :param repo: the repository= containing the reference at ref_path""" 0131:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 while True: *** 0132:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= hexsha, ref_path =3D cls._get_ref_info(repo, ref_path) 0133:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if = hexsha is not None: 0134:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 return hexsha 0135:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # END recursive dereferenci= ng 0136: File: '/usr/lib/python3/dist-packages/git/refs/symbolic.py', lineno: 181, f= unction: _get_ref_info 0177:=C2=A0=C2=A0=C2=A0 def _get_ref_info(cls, repo, ref_path): 0178:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """Return: (str(sha), str(t= arget_ref_path)) if available, the sha the file at 0179:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rela_path points to, or Non= e. target_ref_path is the reference we 0180:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 point to, or None""" *** 0181:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return cls._get_ref_inf= o_helper(repo, ref_path) 0182: 0183:=C2=A0=C2=A0=C2=A0 def _get_object(self): 0184:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """ 0185:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :return: File: '/usr/lib/python3/dist-packages/git/refs/symbolic.py', lineno: 164, f= unction: _get_ref_info_helper 0160:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 break 0161:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # E= ND for each packed ref 0162:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # END handle packed refs 0163:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if tokens is None: *** 0164:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= raise ValueError("Reference at %r does not exist" % ref_path) 0165: 0166:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # is it a reference ? 0167:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if tokens[0] =3D=3D 'ref:': 0168:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ret= urn (None, tokens[1]) Exception: ValueError: Reference at 'refs/heads/yocto_imx6_rel' does not ex= ist DEBUG: Python function do_testimage finished I tried to resolve the problem but errors, and warming kept increasing. tha= n I found , a testimage.bbclass - http://cgit.openembedded.org/openembedded= -core/tree/meta/classes/testimage.bbclass?h=3Dpyro ( http://cgit.openembedd= ed.org/openembedded-core/tree/meta/classes/testimage.bbclass?h=3Dpyro ) which had diffrence wrt my testimage.bbclass diffrence was - i nherit meta_scm python () { if oe.types.boolean(d.getVar("TESTIMAGE_AUTO") or "False"): bb.build.addtask("testimage", "do_build", "do_image_complete", d) } Later , i swap my testimage.bbclass with http://cgit.openembedded.org/openembedded-= core/tree/meta/classes/testimage.bbclass?h=3Dpyro i know that the diffrence= may be due to diffrent version but still i tested. now after running the task --- bitbake core-image-weston -c testimage do_te= stimage task have stopped at 99% , no, I am not getting any log, later i Sw= aped the earlier testimage.bbclass and still it gets stuck at 99%. I am not= getting any logs in both cases now As new to this technology , may i please get your help to resolve this issue, and root cause of it --58NSLDEVZKG9RkT1KAh2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Friends,
I am new to this technology, please let me know if i miss= ed any detail that is required to make my query more understandable . I am = trying standard test on target device using TEST_TARGET =3D "simpleremote" = ,
i have followed following steps on the given link - https://wiki.yoctoproject.org/wiki/BSP_Test_Plan
I = am building core-image-weston on imx6 device.
I am building "core-imag= e-weston" on "imx6" I ran command -- bitbake core-image-weston -c testimage=
I got following logs---

NOTE: ---------------------------= -------------------------------------------
NOTE: Ran 61 tests in 438.= 855s
NOTE: FAILED
NOTE:  (failures=3D2, errors=3D1, skipped= =3D16)
ERROR: Error executing a python function in exec_python_func() = autogenerated:

The stack trace of python calls that resulted in = this exception/failure was:
File: 'exec_python_func() autogenerated', = lineno: 2, function: <module>
     0001:
 *** 0002:do_testimage(d)
     0003:
F= ile: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/classes/testimage= .bbclass', lineno: 114, function: do_testimage
    = ; 0110:    netstat -an
     0111:}<= br />     0112:
     0113:pyth= on do_testimage() {
 *** 0114:   testimage_main(d)
     0115:}
     0116:
&= nbsp;    0117:addtask testimage
    = ; 0118:do_testimage[nostamp] =3D "1"
File: '/home/ss/imx6/yocto/OS_Lin= ux_imx6/sources/poky/meta/classes/testimage.bbclass', lineno: 320, function= : testimage_main
     0316:
   = ;  0317:    # Show results (if we have them)
 = ;    0318:    if not results:
 &nbs= p;   0319:        bb.fatal('%s= - FAILED - tests were interrupted during execution' % pn, forcelog=3DTrue)=
 *** 0320:    configuration =3D get_testimage_con= figuration(d, 'runtime', machine)
     0321: =    results.logDetails(get_testimage_json_result_dir(d),
&nbs= p;    0322:        &= nbsp;           &nbs= p;  configuration,
     0323:  &nbs= p;            &= nbsp;       get_testimage_result_id(configura= tion),
     0324:     &nb= sp;            =      dump_streams=3Dd.getVar('TESTREPORT_FULLLOGS'))File: '/home/ss/imx6/yocto/OS_Linux_imx6/sources/poky/meta/classes/testi= mage.bbclass', lineno: 139, function: get_testimage_configuration
&nbs= p;    0135:        &= nbsp;           'IMAGE_BA= SENAME': d.getVar("IMAGE_BASENAME"),
     0136:&nb= sp;            =        'IMAGE_PKGTYPE': d.getVar("IMAGE_PKGTY= PE"),
     0137:     &nbs= p;            &= nbsp; 'STARTTIME': d.getVar("DATETIME"),
     0138= :            &n= bsp;       'HOST_DISTRO': oe.lsb.distro_ident= ifier().replace(' ', '-'),
 *** 0139:    &nbs= p;            &= nbsp;  'LAYERS': get_layers(d.getVar("BBLAYERS"))}
  &n= bsp;  0140:    return configuration
  &n= bsp;  0141:get_testimage_configuration[vardepsexclude] =3D "DATETIME"<= br />     0142:
     0143:def = get_testimage_json_result_dir(d):
File: '/home/ss/imx6/yocto/OS_Linux_= imx6/sources/poky/meta/lib/oeqa/utils/metadata.py', lineno: 97, function: g= et_layers
     0093:    """Returns = layer information in dict format"""
     0094:&nbs= p;   layer_dict =3D OrderedDict()
     0= 095:    for layer in layers.split():
   =   0096:        layer_name =3D os.pa= th.basename(layer)
 *** 0097:      =   layer_dict[layer_name] =3D git_rev_info(layer)
  &nbs= p;  0098:    return layer_dict
   &= nbsp; 0099:
     0100:def write_metadata_file(file= _path, metadata):
     0101:    """= Writes metadata to a XML file in directory. """
File: '/home/ss/imx6/= yocto/OS_Linux_imx6/sources/poky/meta/lib/oeqa/utils/metadata.py', lineno: = 84, function: git_rev_info
     0080:  &= nbsp; try:
     0081:     = ;   repo =3D Repo(path, search_parent_directories=3DTrue)
&n= bsp;    0082:    except (InvalidGitRepository= Error, NoSuchPathError):
     0083:  &nb= sp;     return info
 *** 0084:  &nb= sp; info['commit'] =3D repo.head.commit.hexsha
    = ; 0085:    info['commit_count'] =3D repo.head.commit.count()=
     0086:    try:
 &nbs= p;   0087:        info['branch= '] =3D repo.active_branch.name
     0088: &nb= sp;  except TypeError:
File: '/usr/lib/python3/dist-packages/git/= refs/symbolic.py', lineno: 197, function: _get_commit
  &nbs= p;  0193:        """
 &nb= sp;   0194:        :return:     0195:       =      Commit object we point to, works for detached and = non-detached
     0196:    &nb= sp;       SymbolicReferences. The symbolic re= ference will be dereferenced recursively."""
 *** 0197: &nbs= p;      obj =3D self._get_object()
 &nbs= p;   0198:        if obj.type = =3D=3D 'tag':
     0199:    &n= bsp;       obj =3D obj.object
 &nbs= p;   0200:        # END derefe= rence tag
     0201:
File: '/usr/lib/python3/= dist-packages/git/refs/symbolic.py', lineno: 190, function: _get_object
     0186:       &= nbsp;    The object our ref currently refers to. Refs can be= cached, they will
     0187:   &nb= sp;        always point to the actual ob= ject as it gets re-created on each query"""
    0188:&n= bsp;       # have to be dynamic here as we ma= y be a tag which can point to anything
     0189:&= nbsp;       # Our path will be resolved to th= e hexsha which will be used accordingly
 *** 0190:  &nb= sp;     return Object.new_from_sha(self.repo, hex_to_bi= n(self.dereference_recursive(self.repo, self.path)))
   = ;  0191:
     0192:    def _ge= t_commit(self):
     0193:    =     """
     0194:   = ;     :return:
File: '/usr/lib/python3/dist-packag= es/git/refs/symbolic.py', lineno: 132, function: dereference_recursive
     0128:        := return: hexsha stored in the reference at the given ref_path, recursively d= ereferencing all
     0129:    = ;        intermediate references as requ= ired
     0130:      = ;  :param repo: the repository containing the reference at ref_path"""=
     0131:      &nb= sp; while True:
 *** 0132:      &nb= sp;     hexsha, ref_path =3D cls._get_ref_info(repo, re= f_path)
     0133:     &n= bsp;      if hexsha is not None:
  =    0134:         &nb= sp;      return hexsha
   &nbs= p; 0135:        # END recursive derefere= ncing
     0136:
File: '/usr/lib/python3/dist= -packages/git/refs/symbolic.py', lineno: 181, function: _get_ref_info
=      0177:    def _get_ref_info(cls, rep= o, ref_path):
     0178:    &n= bsp;   """Return: (str(sha), str(target_ref_path)) if available, = the sha the file at
     0179:   &n= bsp;    rela_path points to, or None. target_ref_path is the= reference we
     0180:    &n= bsp;   point to, or None"""
 *** 0181:   = ;     return cls._get_ref_info_helper(repo, ref_path)     0182:
     0183: = ;   def _get_object(self):
     0184:&nb= sp;       """
     0= 185:        :return:
File: '/usr/li= b/python3/dist-packages/git/refs/symbolic.py', lineno: 164, function: _get_= ref_info_helper
     0160:    =             break     0161:       =      # END for each packed ref
   &= nbsp; 0162:        # END handle packed r= efs
     0163:      =   if tokens is None:
 *** 0164:     = ;       raise ValueError("Reference at %r doe= s not exist" % ref_path)
     0165:
 &nb= sp;   0166:        # is it a r= eference ?
     0167:     = ;   if tokens[0] =3D=3D 'ref:':
     016= 8:            return= (None, tokens[1])
Exception: ValueError: Reference at 'refs/heads/yoc= to_imx6_rel' does not exist

DEBUG: Python function do_testimage = finished




I tried to resolve the problem but er= rors, and warming kept increasing. than I found , a testimage.bbclass - http:= //cgit.openembedded.org/openembedded-core/tree/meta/classes/testimage.bbcla= ss?h=3Dpyro
which had diffrence wrt my testimage.bbclass diffrenc= e was - i
nherit meta_scm
python () {
   &n= bsp;   if oe.types.boolean(d.getVar("TESTIMAGE_AUTO") or "False")= :
            b= b.build.addtask("testimage", "do_build", "do_image_complete", d)
}
Later ,
i swap my testimage.bbclass with http://cgit.openem= bedded.org/openembedded-core/tree/meta/classes/testimage.bbclass?h=3Dpyro i= know that the diffrence may be due to diffrent version but still i tested.=
now after running the task --- bitbake core-image-weston -c testimag= e do_testimage task have stopped at 99% , no, I am not getting any log, lat= er i Swaped the earlier testimage.bbclass and still it gets stuck at 99%. I= am not getting any logs in both cases now As new to this technology ,

may i please get your help to resolve this issue, and root cause of = it --58NSLDEVZKG9RkT1KAh2--