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 67B908561B5 for ; Tue, 8 Jun 2021 00:33:57 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=Luy2jvuV Received: from github.com (hubbernetes-node-7e4070c.ash1-iad.github.net [10.56.120.37]) by smtp.github.com (Postfix) with ESMTPA id F049284006B for ; Mon, 7 Jun 2021 15:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1623105236; bh=7qx22hcNnXqSVz3wcnjZW8YhjP9LGkhxc/3gv0L7oMI=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=Luy2jvuVkZv8mfeIhtZE5jCWBOpj74rETLsshbBq605BsnQ+duzjNj0lIfawSM8se eWJi3Zsh8LqyBSYjKrmQVGmOSHov28JtVXRfIgmYUu3/En3cr+U/JA4jOm1S2uemUM f12sv9vtjWtuxMQxTybVAsBu/ilfaigbgFbFIQ+c= Date: Mon, 07 Jun 2021 15:33:56 -0700 From: xciter327 To: tohojo/flent Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_60be9ed4eda7d_55c6fc11633"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: xciter327 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: Z4XDY77MNU56REY6IDRH6GCTUAT4EUYP X-Message-ID-Hash: Z4XDY77MNU56REY6IDRH6GCTUAT4EUYP 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 X-Mailman-Version: 3.3.4 Reply-To: tohojo/flent Subject: [Flent-users] [tohojo/flent] Issues running flent / packaging into container (#226) List-Id: Flent discussion list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ----==_mimepart_60be9ed4eda7d_55c6fc11633 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I wanted to run some test on Fedora 34, which seems to have lost the netp= erf 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 0= c4ea2cce3e 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 =0D sys.exit(load_entry_point('flent=3D=3D2.0.0', 'console_scripts', 'run= ')())=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_metadata= =0D m['MODULE_VERSIONS'] =3D get_module_versions()=0D File "/usr/share/flent/flent/metadata.py", line 514, in get_module_vers= ions=0D version_strings.split(=0D AttributeError: 'NoneType' object has no attribute 'split'=0D ```=0D Python version:=0D ```=0D =E2=9E=9C flent git:(master) =E2=9C=97 podman run -it --network=3Dhost 0= c4ea2cce3e python3 --version=0D Python 3.9.5=0D ```=0D Relevant dockerfile:=0D =E2=9E=9C flent git:(master) =E2=9C=97 cat Dockerfile =0D FROM ubuntu:hirsute=0D RUN apt-get update && \=0D apt-get install -y locales software-properties-common && \=0D sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen = && \=0D locale-gen=0D ENV LANG en_US.UTF-8=0D ENV LANGUAGE en_US:en=0D ENV LC_ALL en_US.UTF-8=0D RUN add-apt-repository ppa:tohojo/flent=0D RUN apt-get update=0D RUN apt install -y flent netperf python3-setuptools iperf=0D ```=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= ----==_mimepart_60be9ed4eda7d_55c6fc11633 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=0D

I wanted to run some test on Fedora 34, which seems to have lost the n= etperf package. So I decided to give packaging Flent into a container a g= o. I'm having some issues actually running the thing.
=0D Output from tring to run it:

=0D
=E2=9E=9C  flent git:(master) =E2=9C=97 podman run -it --netwo=
rk=3Dhost 0c4ea2cce3e flent rrul -p all_scaled -l 60 -H netperf.bufferblo=
at.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', 'run=
')())=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_metadata=
=0D
    m['MODULE_VERSIONS'] =3D get_module_versions()=0D
  File "/usr/share/flent/flent/metadata.py", line 514, in get_module_vers=
ions=0D
    version_strings.split(=0D
AttributeError: 'NoneType' object has no attribute 'split'=0D
=0D

Python version:

=0D
=E2=9E=9C  flent git:(master) =E2=9C=97 podman run -it --netwo=
rk=3Dhost 0c4ea2cce3e python3 --version=0D
Python 3.9.5=0D
=0D

Relevant dockerfile:
=0D =E2=9E=9C flent git:(master) =E2=9C=97 cat Dockerfile
=0D FROM ubuntu:hirsute
=0D RUN apt-get update &&
=0D apt-get install -y locales software-properties-common &&
=0D sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen &= ;&
=0D locale-gen
=0D ENV LANG en_US.UTF-8
=0D ENV LANGUAGE en_US:en
=0D ENV LC_ALL en_US.UTF-8
=0D RUN add-apt-repository ppa:tohojo/flent
=0D RUN apt-get update
=0D RUN apt install -y flent netperf python3-setuptools iperf

=0D
=0D =0D

&m= dash;
You are receiving this because you are subscribed to this thre= ad.
Reply to this email directly, view it on GitHub, or unsubscribe.3D""<= /p>=0D = ----==_mimepart_60be9ed4eda7d_55c6fc11633--