From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from smtp.github.com (out-25.smtp.github.com [192.30.252.208])
	by mail.toke.dk (Postfix) with ESMTPS id C883285646E
	for <flent-users@flent.org>; Tue,  8 Jun 2021 12:46:05 +0200 (CEST)
Authentication-Results: mail.toke.dk;
	dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=B/6mrOaI
Received: from github.com (hubbernetes-node-0cf6174.ash1-iad.github.net [10.56.110.58])
	by smtp.github.com (Postfix) with ESMTPA id 250D0840325
	for <flent-users@flent.org>; Tue,  8 Jun 2021 03:46:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
	s=pf2014; t=1623149164;
	bh=YP2uZ7+lgtlMibJC8wgefTbDSaEqDZmaQD8ZB3SvEWc=;
	h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
	 List-Archive:List-Post:List-Unsubscribe:From;
	b=B/6mrOaICp/NTq6EX6bd+YIRx65LCe2cGMziJJkFX6CDJX380eQNy+OQAfJ6Ssoru
	 UN92ibSREBs28puoFJY/RDBEyEkeyw6DerRO8oB3UcCNnAOSChUmKyFQkmsD+ok1fP
	 lNQY6U/t6xZjOpXIGGap2K1VexsKqJicTO/daUqc=
Date: Tue, 08 Jun 2021 03:46:04 -0700
From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Message-ID: <tohojo/flent/issues/226/856657814@github.com>
In-Reply-To: <tohojo/flent/issues/226@github.com>
References: <tohojo/flent/issues/226@github.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_60bf4a6c221f9_1149c6fc839a2";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: tohojo
X-GitHub-Recipient: flent-users
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: flent-users@flent.org
Message-ID-Hash: 4T7GP5QSIHI7FHMWCXQ4ZUIOUHT65KKZ
X-Message-ID-Hash: 4T7GP5QSIHI7FHMWCXQ4ZUIOUHT65KKZ
X-MailFrom: noreply@github.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Subscribed <subscribed@noreply.github.com>
X-Mailman-Version: 3.3.4
Reply-To: tohojo/flent <reply+AHVNJP3DJ7N2AAIQN3Y2QSF6ZMVWZEVBNHHDM6VFWQ@reply.github.com>
Subject: [Flent-users] Re: [tohojo/flent] Issues running flent / packaging into container (#226)
List-Id: Flent discussion list <flent-users.flent.org>
Archived-At: <https://lists.flent.org/flent-users/tohojo/flent/issues/226/856657814@github.com/>
List-Archive: <https://lists.flent.org/flent-users/>
List-Help: <mailto:flent-users-request@flent.org?subject=help>
List-Owner: <mailto:flent-users-owner@flent.org>
List-Post: <mailto:flent-users@flent.org>
List-Subscribe: <mailto:flent-users-join@flent.org>
List-Unsubscribe: <mailto:flent-users-leave@flent.org>


----==_mimepart_60bf4a6c221f9_1149c6fc839a2
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

xciter327 ***@***.***> writes:=0D
=0D
> I wanted to run some test on Fedora 34, which seems to have lost the ne=
tperf package. So I decided to give packaging Flent into a container a go=
. I'm having some issues actually running the thing.=0D
> Output from tring to run it:=0D
> ```=0D
> =E2=9E=9C  flent git:(master) =E2=9C=97 podman run -it --network=3Dhost=
 0c4ea2cce3e flent rrul -p all_scaled -l 60 -H netperf.bufferbloat.net=0D=

> Started Flent 2.0.0 using Python 3.9.5.=0D
> Traceback (most recent call last):=0D
>   File "/usr/bin/flent", line 33, in <module>=0D
>     sys.exit(load_entry_point('flent=3D=3D2.0.0', 'console_scripts', 'r=
un')())=0D
>   File "/usr/share/flent/flent/__init__.py", line 59, in run_flent=0D
>     b.run()=0D
>   File "/usr/share/flent/flent/batch.py", line 617, in run=0D
>     return self.run_test(self.settings, self.settings.DATA_DIR, True)=0D=

>   File "/usr/share/flent/flent/batch.py", line 505, in run_test=0D
>     record_metadata(res, settings.EXTENDED_METADATA,=0D
>   File "/usr/share/flent/flent/metadata.py", line 132, in record_metada=
ta=0D
>     m['MODULE_VERSIONS'] =3D get_module_versions()=0D
>   File "/usr/share/flent/flent/metadata.py", line 514, in get_module_ve=
rsions=0D
>     version_strings.split(=0D
> AttributeError: 'NoneType' object has no attribute 'split'=0D
> ```=0D
=0D
Hmm, my guess would be that this happens because the container doesn't=0D=

have 'hexdump' available. Really shouldn't cause a crash, though, that's=0D=

definitely a bug...=0D
=0D
And yeah, I really ought to do something about that missing netperf=0D
package (you're the second person pointing it out in the last couple of=0D=

days)...=0D
=0D
=0D
-- =0D
You are receiving this because you are subscribed to this thread.=0D
Reply to this email directly or view it on GitHub:=0D
https://github.com/tohojo/flent/issues/226#issuecomment-856657814=

----==_mimepart_60bf4a6c221f9_1149c6fc839a2
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p></p>=0D
xciter327 ***@***.***&gt; writes:<br>=0D
<br>=0D
&gt; I wanted to run some test on Fedora 34, which seems to have lost the=
 netperf package. So I decided to give packaging Flent into a container a=
 go. I&#39;m having some issues actually running the thing.<br>=0D
&gt; Output from tring to run it:<br>=0D
&gt; ```<br>=0D
&gt; =E2=9E=9C  flent git:(master) =E2=9C=97 podman run -it --network=3Dh=
ost 0c4ea2cce3e flent rrul -p all_scaled -l 60 -H netperf.bufferbloat.net=
<br>=0D
&gt; Started Flent 2.0.0 using Python 3.9.5.<br>=0D
&gt; Traceback (most recent call last):<br>=0D
&gt;   File &quot;/usr/bin/flent&quot;, line 33, in &lt;module&gt;<br>=0D=

&gt;     sys.exit(load_entry_point(&#39;flent=3D=3D2.0.0&#39;, &#39;conso=
le_scripts&#39;, &#39;run&#39;)())<br>=0D
&gt;   File &quot;/usr/share/flent/flent/__init__.py&quot;, line 59, in r=
un_flent<br>=0D
&gt;     b.run()<br>=0D
&gt;   File &quot;/usr/share/flent/flent/batch.py&quot;, line 617, in run=
<br>=0D
&gt;     return self.run_test(self.settings, self.settings.DATA_DIR, True=
)<br>=0D
&gt;   File &quot;/usr/share/flent/flent/batch.py&quot;, line 505, in run=
_test<br>=0D
&gt;     record_metadata(res, settings.EXTENDED_METADATA,<br>=0D
&gt;   File &quot;/usr/share/flent/flent/metadata.py&quot;, line 132, in =
record_metadata<br>=0D
&gt;     m[&#39;MODULE_VERSIONS&#39;] =3D get_module_versions()<br>=0D
&gt;   File &quot;/usr/share/flent/flent/metadata.py&quot;, line 514, in =
get_module_versions<br>=0D
&gt;     version_strings.split(<br>=0D
&gt; AttributeError: &#39;NoneType&#39; object has no attribute &#39;spli=
t&#39;<br>=0D
&gt; ```<br>=0D
<br>=0D
Hmm, my guess would be that this happens because the container doesn&#39;=
t<br>=0D
have &#39;hexdump&#39; available. Really shouldn&#39;t cause a crash, tho=
ugh, that&#39;s<br>=0D
definitely a bug...<br>=0D
<br>=0D
And yeah, I really ought to do something about that missing netperf<br>=0D=

package (you&#39;re the second person pointing it out in the last couple =
of<br>=0D
days)...<br>=0D
=0D
=0D
<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />You are receiving this because you are subscribed to this thre=
ad.<br />Reply to this email directly, <a href=3D"https://github.com/toho=
jo/flent/issues/226#issuecomment-856657814">view it on GitHub</a>, or <a =
href=3D"https://github.com/notifications/unsubscribe-auth/AHVNJP2YIFB5ZGF=
F22EHWULTRXYGZANCNFSM46ITGGBA">unsubscribe</a>.<img src=3D"https://github=
.com/notifications/beacon/AHVNJP4BJ77ZTARPT2NGI63TRXYGZA5CNFSM46ITGGBKYY3=
PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMHY7FQ.gif" hei=
ght=3D"1" width=3D"1" alt=3D"" /></p>=0D
<script type=3D"application/ld+json">[=0D
{=0D
"@context": "http://schema.org",=0D
"@type": "EmailMessage",=0D
"potentialAction": {=0D
"@type": "ViewAction",=0D
"target": "https://github.com/tohojo/flent/issues/226#issuecomment-856657=
814",=0D
"url": "https://github.com/tohojo/flent/issues/226#issuecomment-856657814=
",=0D
"name": "View Issue"=0D
},=0D
"description": "View this Issue on GitHub",=0D
"publisher": {=0D
"@type": "Organization",=0D
"name": "GitHub",=0D
"url": "https://github.com"=0D
}=0D
}=0D
]</script>=

----==_mimepart_60bf4a6c221f9_1149c6fc839a2--