* [Flent-users] [tohojo/flent] Issues running flent / packaging into container (#226)
@ 2021-06-07 22:33 xciter327
2021-06-08 10:46 ` [Flent-users] " Toke Høiland-Jørgensen
2021-06-08 10:47 ` Toke Høiland-Jørgensen
0 siblings, 2 replies; 3+ messages in thread
From: xciter327 @ 2021-06-07 22:33 UTC (permalink / raw)
To: tohojo/flent; +Cc: Subscribed
[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]
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'm having some issues actually running the thing.\r
Output from tring to run it:\r
```\r
➜ flent git:(master) ✗ podman run -it --network=host 0c4ea2cce3e flent rrul -p all_scaled -l 60 -H netperf.bufferbloat.net\r
Started Flent 2.0.0 using Python 3.9.5.\r
Traceback (most recent call last):\r
File "/usr/bin/flent", line 33, in <module>\r
sys.exit(load_entry_point('flent==2.0.0', 'console_scripts', 'run')())\r
File "/usr/share/flent/flent/__init__.py", line 59, in run_flent\r
b.run()\r
File "/usr/share/flent/flent/batch.py", line 617, in run\r
return self.run_test(self.settings, self.settings.DATA_DIR, True)\r
File "/usr/share/flent/flent/batch.py", line 505, in run_test\r
record_metadata(res, settings.EXTENDED_METADATA,\r
File "/usr/share/flent/flent/metadata.py", line 132, in record_metadata\r
m['MODULE_VERSIONS'] = get_module_versions()\r
File "/usr/share/flent/flent/metadata.py", line 514, in get_module_versions\r
version_strings.split(\r
AttributeError: 'NoneType' object has no attribute 'split'\r
```\r
Python version:\r
```\r
➜ flent git:(master) ✗ podman run -it --network=host 0c4ea2cce3e python3 --version\r
Python 3.9.5\r
```\r
Relevant dockerfile:\r
➜ flent git:(master) ✗ cat Dockerfile \r
FROM ubuntu:hirsute\r
RUN apt-get update && \\r
apt-get install -y locales software-properties-common && \\r
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \\r
locale-gen\r
ENV LANG en_US.UTF-8\r
ENV LANGUAGE en_US:en\r
ENV LC_ALL en_US.UTF-8\r
RUN add-apt-repository ppa:tohojo/flent\r
RUN apt-get update\r
RUN apt install -y flent netperf python3-setuptools iperf\r
```\r
\r
\r
-- \r
You are receiving this because you are subscribed to this thread.\r
Reply to this email directly or view it on GitHub:\r
https://github.com/tohojo/flent/issues/226
[-- Attachment #2: Type: text/html, Size: 3004 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Flent-users] Re: [tohojo/flent] Issues running flent / packaging into container (#226)
2021-06-07 22:33 [Flent-users] [tohojo/flent] Issues running flent / packaging into container (#226) xciter327
@ 2021-06-08 10:46 ` Toke Høiland-Jørgensen
2021-06-08 10:47 ` Toke Høiland-Jørgensen
1 sibling, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-06-08 10:46 UTC (permalink / raw)
To: tohojo/flent; +Cc: Subscribed
[-- Attachment #1: Type: text/plain, Size: 1815 bytes --]
xciter327 ***@***.***> writes:\r
\r
> 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'm having some issues actually running the thing.\r
> Output from tring to run it:\r
> ```\r
> ➜ flent git:(master) ✗ podman run -it --network=host 0c4ea2cce3e flent rrul -p all_scaled -l 60 -H netperf.bufferbloat.net\r
> Started Flent 2.0.0 using Python 3.9.5.\r
> Traceback (most recent call last):\r
> File "/usr/bin/flent", line 33, in <module>\r
> sys.exit(load_entry_point('flent==2.0.0', 'console_scripts', 'run')())\r
> File "/usr/share/flent/flent/__init__.py", line 59, in run_flent\r
> b.run()\r
> File "/usr/share/flent/flent/batch.py", line 617, in run\r
> return self.run_test(self.settings, self.settings.DATA_DIR, True)\r
> File "/usr/share/flent/flent/batch.py", line 505, in run_test\r
> record_metadata(res, settings.EXTENDED_METADATA,\r
> File "/usr/share/flent/flent/metadata.py", line 132, in record_metadata\r
> m['MODULE_VERSIONS'] = get_module_versions()\r
> File "/usr/share/flent/flent/metadata.py", line 514, in get_module_versions\r
> version_strings.split(\r
> AttributeError: 'NoneType' object has no attribute 'split'\r
> ```\r
\r
Hmm, my guess would be that this happens because the container doesn't\r
have 'hexdump' available. Really shouldn't cause a crash, though, that's\r
definitely a bug...\r
\r
And yeah, I really ought to do something about that missing netperf\r
package (you're the second person pointing it out in the last couple of\r
days)...\r
\r
\r
-- \r
You are receiving this because you are subscribed to this thread.\r
Reply to this email directly or view it on GitHub:\r
https://github.com/tohojo/flent/issues/226#issuecomment-856657814
[-- Attachment #2: Type: text/html, Size: 3066 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Flent-users] Re: [tohojo/flent] Issues running flent / packaging into container (#226)
2021-06-07 22:33 [Flent-users] [tohojo/flent] Issues running flent / packaging into container (#226) xciter327
2021-06-08 10:46 ` [Flent-users] " Toke Høiland-Jørgensen
@ 2021-06-08 10:47 ` Toke Høiland-Jørgensen
1 sibling, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-06-08 10:47 UTC (permalink / raw)
To: tohojo/flent; +Cc: Subscribed
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
Closed #226 via 28ed6ebf349c1abf04179481aebea914b14d8d87.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/226#event-4857606181
[-- Attachment #2: Type: text/html, Size: 1707 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-08 10:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 22:33 [Flent-users] [tohojo/flent] Issues running flent / packaging into container (#226) xciter327
2021-06-08 10:46 ` [Flent-users] " Toke Høiland-Jørgensen
2021-06-08 10:47 ` Toke Høiland-Jørgensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox