Skip to contentSkip to conversation

iperf3: Adds git and 3.0.8 version

PATCH In review Guy Morand 2 participants 3 messages Oct 7, 2014 – Oct 10, 2014 1 message not in the archive

lore
Share & tools
lore

Guy Morand

author
#0 lore raw

PATCH 1/1 iperf3: Adds git and 3.0.8 version

iperf3 is the new successor of iperf. The project is now mature enough as it started in 2009 and has stable releases. It supports reporting results in the portable JSON format, provides more information than iperf does and also adds some features from other tools such as nuttcp and netperf but were missing from the original iperf.

---
 meta-oe/recipes-benchmark/iperf3/iperf3.inc      |   20 ++++++++++++++++++++
 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb |    6 ++++++
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb   |    7 +++++++
 3 files changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3.inc
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
meta-oe/recipes-benchmark/iperf3/iperf3.inc new file +20 -0
new file mode 100644
index 0000000..029a144
@@ -0,0 +1,20 @@
+SUMMARY = "Network benchmark tool"
+DESCRIPTION = \
+"iperf is a tool for active measurements of the maximum achievable bandwidth \
+on IP networks. It supports tuning of various parameters related to timing, \
+protocols, and buffers. For each test it reports the bandwidth, loss, and \
+other parameters."
+HOMEPAGE = "http://software.es.net/iperf/"
+SECTION = "console/network"
+BUGTRACKER = "https://github.com/esnet/iperf/issues"
+AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <[email protected]>"
+LICENSE = "BSD"
+
+BRANCH = "master"
+SRC_URI = "\
+           git://github.com/esnet/iperf.git;branch=${BRANCH} \
+           "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb new file +6 -0
new file mode 100644
index 0000000..a39deff
@@ -0,0 +1,6 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ab59a0c3a4bc3954d1ece68ea19d77a4"
+
+BRANCH = "3.0-STABLE"
+SRCREV = "24d5cdec3731bc589f6cb7c359d8311dcaa41854"
meta-oe/recipes-benchmark/iperf3/iperf3_git.bb new file +7 -0
new file mode 100644
index 0000000..77ebe15
@@ -0,0 +1,7 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=062ab1bc33fae1926387ac1274cb0873"
+
+PV = "3.0.8+git${SRCPV}"
+SRCREV = "${AUTOREV}"
+
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 5 lines · Guy Morand

iperf3 is the new successor of iperf. The project is now mature enough as it started in 2009 and has stable releases. It supports reporting results in the portable JSON format, provides more information than iperf does and also adds some features from other tools such as nuttcp and netperf but were missing from the original iperf.

Have you tested this with oe-core master?

It probably needs patch to pass -foreign to automake:

| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/ --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/share/aclocal-1.14" autoreconf --verbose --install --force --exclude=autopoint -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/ --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/share/aclocal-1.14 -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
| libtoolize: copying file `config/ltmain.sh'
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
| autoreconf: running: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/autoconf --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/autoheader --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running: automake --add-missing --copy --force-missing
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License v3 file
| Makefile.am:     Consider adding the COPYING file to the version control system
| Makefile.am:     for your code, to avoid questions about which license your project uses
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/temp/log.do_configure.16696)

NOTE: recipe iperf3-3.0.8+gitAUTOINC+bcd038dd93-r0: task do_configure: Failed

Quoted 70 lines
---
 meta-oe/recipes-benchmark/iperf3/iperf3.inc      |   20 ++++++++++++++++++++
 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb |    6 ++++++
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb   |    7 +++++++
 3 files changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3.inc
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
meta-oe/recipes-benchmark/iperf3/iperf3.inc new file +20 -0
new file mode 100644
index 0000000..029a144
@@ -0,0 +1,20 @@
+SUMMARY = "Network benchmark tool"
+DESCRIPTION = \
+"iperf is a tool for active measurements of the maximum achievable bandwidth \
+on IP networks. It supports tuning of various parameters related to timing, \
+protocols, and buffers. For each test it reports the bandwidth, loss, and \
+other parameters."
+HOMEPAGE = "http://software.es.net/iperf/"
+SECTION = "console/network"
+BUGTRACKER = "https://github.com/esnet/iperf/issues"
+AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <[email protected]>"
+LICENSE = "BSD"
+
+BRANCH = "master"
+SRC_URI = "\
+           git://github.com/esnet/iperf.git;branch=${BRANCH} \
+           "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb new file +6 -0
new file mode 100644
index 0000000..a39deff
@@ -0,0 +1,6 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ab59a0c3a4bc3954d1ece68ea19d77a4"
+
+BRANCH = "3.0-STABLE"
+SRCREV = "24d5cdec3731bc589f6cb7c359d8311dcaa41854"
meta-oe/recipes-benchmark/iperf3/iperf3_git.bb new file +7 -0
new file mode 100644
index 0000000..77ebe15
@@ -0,0 +1,7 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=062ab1bc33fae1926387ac1274cb0873"
+
+PV = "3.0.8+git${SRCPV}"
+SRCREV = "${AUTOREV}"
+
Signature · 7 lines
1.7.10.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#3 lore raw

PATCH 1/1 iperf3: Adds git and 3.0.8 version

Thanks for your review!

No, I haven't, I'm working with the "dora" branch ...

I will make a setup with the master branch to test it and resend the patch.

Kind regards,

Guy

-----Original Message-----
From: Martin Jansa [mailto:[email protected]]
Sent: Friday, October 10, 2014 12:10 PM
To: [email protected]
Cc: Guy Morand
Subject: Re: [oe] [meta-oe][PATCH] iperf3: Adds git and 3.0.8 version

Quoted 5 lines · Guy Morand

iperf3 is the new successor of iperf. The project is now mature enough as it started in 2009 and has stable releases. It supports reporting results in the portable JSON format, provides more information than iperf does and also adds some features from other tools such as nuttcp and netperf but were missing from the original iperf.

Have you tested this with oe-core master?

It probably needs patch to pass -foreign to automake:

| NOTE: Executing ACLOCAL="aclocal
| --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64
| -oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/
| --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x8
| 6_64-linux/usr/share/aclocal-1.14" autoreconf --verbose --install
| --force --exclude=autopoint -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
| --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64
| -oe-linux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/build/aclocal-copy/
| --automake-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x8
| 6_64-linux/usr/share/aclocal-1.14 -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ -I
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
| libtoolize: copying file `config/ltmain.sh'
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
| configure.ac and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
| autoreconf: running:
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bi
| n/autoconf
| --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-l
| inux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running:
| /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bi
| n/autoheader
| --include=/home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-l
| inux/iperf3/3.0.8+gitAUTOINC+bcd038dd93-r0/git/config/ --force
| autoreconf: running: automake --add-missing --copy --force-missing
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License v3

file
| Makefile.am: Consider adding the COPYING file to the version control
system
| Makefile.am: for your code, to avoid questions about which license
your project uses

| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/iperf
| 3/3.0.8+gitAUTOINC+bcd038dd93-r0/temp/log.do_configure.16696)

NOTE: recipe iperf3-3.0.8+gitAUTOINC+bcd038dd93-r0: task do_configure:
Failed

Quoted 4 lines
---
 meta-oe/recipes-benchmark/iperf3/iperf3.inc      |   20

++++++++++++++++++++

Quoted 14 lines
 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb |    6 ++++++
 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb   |    7 +++++++
 3 files changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3.inc
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb
 create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
meta-oe/recipes-benchmark/iperf3/iperf3.inc new file +0 -0
new file mode 100644
index 0000000..029a144

meta-oe/recipes-benchmark/iperf3/iperf3.inc line 10

Quoted 10 lines
meta-oe/recipes-benchmark/iperf3/iperf3.inc new file +10 -0
@@ -0,0 +1,20 @@
+SUMMARY = "Network benchmark tool"
+DESCRIPTION = \
+"iperf is a tool for active measurements of the maximum achievable
+bandwidth \ on IP networks. It supports tuning of various parameters
+related to timing, \ protocols, and buffers. For each test it reports
+the bandwidth, loss, and \ other parameters."
+HOMEPAGE = "http://software.es.net/iperf/"
+SECTION = "console/network"
+BUGTRACKER = "https://github.com/esnet/iperf/issues"
+AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <

[email protected]>"

Quoted 40 lines
meta-oe/recipes-benchmark/iperf3/iperf3.inc new file +10 -0
+LICENSE = "BSD"
+
+BRANCH = "master"
+SRC_URI = "\
+           git://github.com/esnet/iperf.git;branch=${BRANCH} \
+           "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
meta-oe/recipes-benchmark/iperf3/iperf3_3.0.8.bb new file +6 -0
new file mode 100644
index 0000000..a39deff
@@ -0,0 +1,6 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ab59a0c3a4bc3954d1ece68ea19d77a4"
+
+BRANCH = "3.0-STABLE"
+SRCREV = "24d5cdec3731bc589f6cb7c359d8311dcaa41854"
meta-oe/recipes-benchmark/iperf3/iperf3_git.bb new file +7 -1
new file mode 100644
index 0000000..77ebe15
@@ -0,0 +1,7 @@
+require iperf3.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=062ab1bc33fae1926387ac1274cb0873"
+
+PV = "3.0.8+git${SRCPV}"
+SRCREV = "${AUTOREV}"
+
--

1.7.10.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]