We are building an operating system based on poky 
(f0ec7c8b2dc1797ba22c45653a5f182b63354092, bitbake: toaster: add 'Sumo' to 
release selection).


Sometimes (about 1 in 10 times) our build fails, because the task do_ar_patched 
fails for package gcc-source-7.3.0-7.3.0-r0.


The short error message:

14:44:09 Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/gcc-7.3.0/gcc/gengtype-lex.c'
14:44:09
14:44:09 ERROR: gcc-source-7.3.0-7.3.0-r0 do_ar_patched: Function failed: 
do_ar_patched
14:44:09 ERROR: Logfile of failure stored in: 
/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/temp/log.do_ar_patched.43242
14:44:09 NOTE: recipe gcc-source-7.3.0-7.3.0-r0: task do_ar_patched: Failed
14:44:09 ERROR: Task 
(/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2//mguard/poky/meta/recipes-devtools/gcc/gcc-source_7.3.bb:do_ar_patched)
 failed with exit code '1'


I attached the full error message as a text file.


Does anybody know this error message? Does anybody experience similar problems 
with non-deterministic build failure?


Kind regards,

Erik

..................................................................
Phoenix Contact GmbH & Co. KG

Sitz der Gesellschaft / registered office of the company: 32825 Blomberg
USt-Id-Nr.: DE124613250
Pers. haftende Gesellschafterin / personally liable partner: Phoenix Contact 
Verwaltungs GmbH
Amtsgericht Lemgo HRB 5273 / district court Lemgo HRB 5273
Kom. Ges. Amtsgericht Lemgo HRA 3746 / limited commercial partnership district 
court Lemgo HRA 3746
Geschäftsführer / Executive Board: Frank Stührenberg (Vorsitzender / Chief 
Executive Officer), Roland Bent, Prof. Dr. Gunther Olesch, Axel Wachholz
___________________________________________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren, jegliche anderweitige Verwendung sowie die unbefugte 
Weitergabe dieser Mail ist nicht gestattet.
----------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure, distribution or other use of the material or parts thereof 
is strictly forbidden.
___________________________________________________________________
14:44:09 ERROR: gcc-source-7.3.0-7.3.0-r0 do_ar_patched: Error executing a 
python function in exec_python_func() autogenerated:
14:44:09 
14:44:09 The stack trace of python calls that resulted in this 
exception/failure was:
14:44:09 File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
14:44:09      0001:
14:44:09  *** 0002:do_ar_patched(d)
14:44:09      0003:
14:44:09 File: 
'/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2//mguard/poky/meta/classes/archiver.bbclass',
 lineno: 219, function: do_ar_patched
14:44:09      0215:    ar_outdir = d.getVar('ARCHIVER_OUTDIR')
14:44:09      0216:    ar_workdir = d.getVar('ARCHIVER_WORKDIR')
14:44:09      0217:    bb.note('Archiving the patched source...')
14:44:09      0218:    d.setVar('WORKDIR', ar_workdir)
14:44:09  *** 0219:    create_tarball(d, d.getVar('S'), 'patched', ar_outdir)
14:44:09      0220:}
14:44:09      0221:
14:44:09      0222:python do_ar_configured() {
14:44:09      0223:    import shutil
14:44:09 File: 
'/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2//mguard/poky/meta/classes/archiver.bbclass',
 lineno: 294, function: create_tarball
14:44:09      0290:    tarname = os.path.join(ar_outdir, filename)
14:44:09      0291:
14:44:09      0292:    bb.note('Creating %s' % tarname)
14:44:09      0293:    tar = tarfile.open(tarname, 'w:gz')
14:44:09  *** 0294:    tar.add(srcdir, arcname=os.path.basename(srcdir))
14:44:09      0295:    tar.close()
14:44:09      0296:
14:44:09      0297:# creating .diff.gz between source.orig and source
14:44:09      0298:def create_diff_gz(d, src_orig, src, ar_outdir):
14:44:09 File: '/usr/lib/python3.5/tarfile.py', lineno: 1945, function: add
14:44:09      1941:            self.addfile(tarinfo)
14:44:09      1942:            if recursive:
14:44:09      1943:                for f in os.listdir(name):
14:44:09      1944:                    self.add(os.path.join(name, f), 
os.path.join(arcname, f),
14:44:09  *** 1945:                            recursive, exclude, 
filter=filter)
14:44:09      1946:
14:44:09      1947:        else:
14:44:09      1948:            self.addfile(tarinfo)
14:44:09      1949:
14:44:09 File: '/usr/lib/python3.5/tarfile.py', lineno: 1945, function: add
14:44:09      1941:            self.addfile(tarinfo)
14:44:09      1942:            if recursive:
14:44:09      1943:                for f in os.listdir(name):
14:44:09      1944:                    self.add(os.path.join(name, f), 
os.path.join(arcname, f),
14:44:09  *** 1945:                            recursive, exclude, 
filter=filter)
14:44:09      1946:
14:44:09      1947:        else:
14:44:09      1948:            self.addfile(tarinfo)
14:44:09      1949:
14:44:09 File: '/usr/lib/python3.5/tarfile.py', lineno: 1922, function: add
14:44:09      1918:
14:44:09      1919:        self._dbg(1, name)
14:44:09      1920:
14:44:09      1921:        # Create a TarInfo object from the file.
14:44:09  *** 1922:        tarinfo = self.gettarinfo(name, arcname)
14:44:09      1923:
14:44:09      1924:        if tarinfo is None:
14:44:09      1925:            self._dbg(1, "tarfile: Unsupported type %r" % 
name)
14:44:09      1926:            return
14:44:09 File: '/usr/lib/python3.5/tarfile.py', lineno: 1791, function: 
gettarinfo
14:44:09      1787:        # Use os.stat or os.lstat, depending on platform
14:44:09      1788:        # and if symlinks shall be resolved.
14:44:09      1789:        if fileobj is None:
14:44:09      1790:            if hasattr(os, "lstat") and not self.dereference:
14:44:09  *** 1791:                statres = os.lstat(name)
14:44:09      1792:            else:
14:44:09      1793:                statres = os.stat(name)
14:44:09      1794:        else:
14:44:09      1795:            statres = os.fstat(fileobj.fileno())
14:44:09 Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/gcc-7.3.0/gcc/gengtype-lex.c'
14:44:09 
14:44:09 ERROR: gcc-source-7.3.0-7.3.0-r0 do_ar_patched: Function failed: 
do_ar_patched
14:44:09 ERROR: Logfile of failure stored in: 
/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/temp/log.do_ar_patched.43242
14:44:09 NOTE: recipe gcc-source-7.3.0-7.3.0-r0: task do_ar_patched: Failed
14:44:09 ERROR: Task 
(/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2//mguard/poky/meta/recipes-devtools/gcc/gcc-source_7.3.bb:do_ar_patched)
 failed with exit code '1'
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to