From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6737967958157426688 X-Received: by 2002:a1c:4085:: with SMTP id n127mr2547371wma.68.1568805416495; Wed, 18 Sep 2019 04:16:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:eb44:: with SMTP id u4ls1819399wrn.2.gmail; Wed, 18 Sep 2019 04:16:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxotkims1Q71yZI0UIXwYEMruv5kv52UMzk0QULhB65bDQBIEe3w6qssq8fExBbWIcRDFV3 X-Received: by 2002:a5d:6108:: with SMTP id v8mr2660648wrt.28.1568805415985; Wed, 18 Sep 2019 04:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568805415; cv=none; d=google.com; s=arc-20160816; b=jnl0x5t79S1+fTztCJhtoRfXAUnTtnum1GEaOdBOkF567L6r//DWOeI9h4fggED4Hr /Bsvm4o7jxRto8NdxO86T9srZZap78dd+nC7Hdgl2h/KNj6cmnfx7Zk/ytSkoSbGKpjU JSktcSU1i624ewsL5zntsBgK3EgnfQV/oeKWH9Kggq0S4gzSPz9S2eoT/Nt5h2fpiWOY DBIRR6dKmjZNbIi7G0AYQB1yhJYcxP/VdF6Csfi+4fAW//e46et9kGSG9MdRaUnSr8pv z5vLeWbKRJUevxmIARZpW7McEamN7bnV7vQnKQ0eBwvydIUq/c0YpAwLxbDD4QnzHJiN 2Osg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:content-disposition :mime-version:mail-followup-to:message-id:subject:to:from:date; bh=zyls6znAlM6qbsvb1rdYgod2Skp8NSUuNXssMWAl9jA=; b=MvAEkG7XpwqgecyH8SBcvZsWYizslQEcKjUO9eVNjkYdyE8cRU19NFUQazKqrgDMi/ QHsj3Dw3/QwDDnMETzTVPR41p2NCe753VWJxdOcrFf9B88oy88PvuERlyonNCQig+9XQ mikjVxNwqbCpdqLEsIJAtlBcKAi68rRidqrpCnONx0kttvQwYGvVEoc2jF7urIfDH7W1 vRErZawFcvkiddU3AL8aHkxBvazvH0xAPOKK+DrDjGNfX9eG9+oQTZp9GqRFIMQO4j/n la/vbt12nyBpD61vvN+MAuq8EK6ibWOvv4G5HG2VMzqCKa6dRtDZxATl3lQEMkC4vdh7 Sqrw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id u15si100890wmc.1.2019.09.18.04.16.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Sep 2019 04:16:55 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x8IBGrlZ014858 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 18 Sep 2019 13:16:55 +0200 Date: Wed, 18 Sep 2019 13:16:53 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Exception in do_transform_template() Message-ID: <20190918111653.is6ugty7h6tw6qrt@yssyq.m.ilbers.de> Mail-Followup-To: isar-users@googlegroups.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-9 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: BRem5p+0xOAt Hello, I occasionally get the exception below. The full log can be seen e.g. in http://zhanghyz.ilbers.de:8080/job/isar_claudius_ilbers-ci/9/consoleFull. Any ideas what could be causing that? ERROR: mc:rpi-jessie:example-module-rpi-rpfv-1.0-r0 do_transform_template: 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: 0001: *** 0002:do_transform_template(d) 0003: File: '/workspace/build/isar_claudius_ilbers-ci/9/meta/classes/template.bbclass', lineno: 58, function: do_transform_template 0054: with contextlib.ExitStack() as stack: 0055: input = stack.enter_context(open(template_file, 'rb')) 0056: output = stack.enter_context(open(output_file, 'wb')) 0057: process = subprocess.Popen([cmd, args], stdin=input, *** 0058: stdout=output, env=env) 0059: if process.wait() != 0: 0060: bb.fatal("processing of template failed") 0061:} 0062:addtask do_transform_template after do_unpack before do_build File: '/usr/lib/python3.5/subprocess.py', lineno: 676, function: __init__ 0672: startupinfo, creationflags, shell, 0673: p2cread, p2cwrite, 0674: c2pread, c2pwrite, 0675: errread, errwrite, *** 0676: restore_signals, start_new_session) 0677: except: 0678: # Cleanup if the child failed starting. 0679: for f in filter(None, (self.stdin, self.stdout, self.stderr)): 0680: try: File: '/usr/lib/python3.5/subprocess.py', lineno: 1282, function: _execute_child 1278: # The error must be from chdir(cwd). 1279: err_msg += ': ' + repr(cwd) 1280: else: 1281: err_msg += ': ' + repr(orig_executable) *** 1282: raise child_exception_type(errno_num, err_msg) 1283: raise child_exception_type(err_msg) 1284: 1285: 1286: def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED, Exception: FileNotFoundError: [Errno 2] No such file or directory: 'envsubst' ERROR: mc:rpi-jessie:example-module-rpi-rpfv-1.0-r0 do_transform_template: Function failed: do_transform_template With kind regards, -- Baurzhan Ismagulov ilbers GmbH Maria-Merian-Str. 8 D-85521 Ottobrunn +49 (89) 122 67 24-0 ibr@ilbers.de http://ilbers.de/ Amtsgericht M�nchen, HRB 214197 Gesch�ftsf�hrer: Baurzhan Ismagulov