Ashfaat / iperf

Automatically exported from code.google.com/p/iperf
Other
0 stars 0 forks source link

make check failure #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download latest release file
2. make on target machine
3. run make check

What is the expected output? What do you see instead?

expect to see all tests pass.!

Instead, get:

==================================================
1 of 3 tests failed
Please report to iperf-users@lists.sourceforge.net
==================================================

What version of the product are you using? On what operating system?

Platform is Ubuntu 12.04; send2self patch is only to ensure traffic between 2 
interfaces actually transits those interfaces..

charlie@HP-Lab2:~/iperf3/iperf$ ./src/iperf3 -v
iperf version 3.0-RC5 (07 November 2013)
Linux HP-Lab2 3.2.51-send2self #1 SMP Tue Nov 12 12:19:51 GMT 2013 x86_64 
x86_64 x86_64 GNU/Linux

charlie@HP-Lab2:~/iperf3/iperf$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 16
model name      : AMD A6-4400M APU with Radeon(tm) HD Graphics
stepping        : 1
microcode       : 0x6001119

Please provide any additional information below.

Complete log of make & make check:

make
Making all in src
make[1]: Entering directory `/home/charlie/iperf3/iperf/src'
make  all-am
make[2]: Entering directory `/home/charlie/iperf3/iperf/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT iperf_api.o -MD -MP -MF 
".deps/iperf_api.Tpo" -c -o iperf_api.o iperf_api.c; \
        then mv -f ".deps/iperf_api.Tpo" ".deps/iperf_api.Po"; else rm -f ".deps/iperf_api.Tpo"; exit 1; fi
iperf_api.c: In function ‘diskfile_recv’:
iperf_api.c:2106:2: warning: ignoring return value of ‘write’, declared 
with attribute warn_unused_result [-Wunused-result]
iperf_api.c: In function ‘iperf_parse_arguments’:
iperf_api.c:568:9: warning: ignoring return value of ‘system’, declared 
with attribute warn_unused_result [-Wunused-result]
rm -f libiperf.a
ar cru libiperf.a cjson.o iperf_api.o iperf_error.o iperf_client_api.o 
iperf_server_api.o iperf_tcp.o iperf_udp.o iperf_util.o locale.o net.o 
tcp_info.o tcp_window_size.o timer.o units.o
ranlib libiperf.a
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o iperf3 -g 
iperf3-main.o libiperf.a
gcc -g -O2 -o iperf3 -g iperf3-main.o  libiperf.a
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o t_timer 
iperf_error.o t_timer-t_timer.o libiperf.a
gcc -g -O2 -o t_timer iperf_error.o t_timer-t_timer.o  libiperf.a
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o t_units  
t_units-t_units.o libiperf.a
gcc -g -O2 -o t_units t_units-t_units.o  libiperf.a
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o t_uuid  
t_uuid-t_uuid.o libiperf.a
gcc -g -O2 -o t_uuid t_uuid-t_uuid.o  libiperf.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.    -pg -g -Wall -g -O2 -MT 
iperf3_profile-iperf_api.o -MD -MP -MF ".deps/iperf3_profile-iperf_api.Tpo" -c 
-o iperf3_profile-iperf_api.o `test -f 'iperf_api.c' || echo './'`iperf_api.c; \
        then mv -f ".deps/iperf3_profile-iperf_api.Tpo" ".deps/iperf3_profile-iperf_api.Po"; else rm -f ".deps/iperf3_profile-iperf_api.Tpo"; exit 1; fi
iperf_api.c: In function ‘diskfile_recv’:
iperf_api.c:2106:2: warning: ignoring return value of ‘write’, declared 
with attribute warn_unused_result [-Wunused-result]
iperf_api.c: In function ‘iperf_parse_arguments’:
iperf_api.c:568:9: warning: ignoring return value of ‘system’, declared 
with attribute warn_unused_result [-Wunused-result]
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o iperf3_profile -pg 
-g iperf3_profile-main.o iperf3_profile-cjson.o iperf3_profile-iperf_api.o 
iperf3_profile-iperf_error.o iperf3_profile-iperf_client_api.o 
iperf3_profile-iperf_server_api.o iperf3_profile-iperf_tcp.o 
iperf3_profile-iperf_udp.o iperf3_profile-iperf_util.o iperf3_profile-locale.o 
iperf3_profile-net.o iperf3_profile-tcp_info.o iperf3_profile-tcp_window_size.o 
iperf3_profile-timer.o iperf3_profile-units.o libiperf.a
gcc -g -O2 -o iperf3_profile -pg -g iperf3_profile-main.o 
iperf3_profile-cjson.o iperf3_profile-iperf_api.o iperf3_profile-iperf_error.o 
iperf3_profile-iperf_client_api.o iperf3_profile-iperf_server_api.o 
iperf3_profile-iperf_tcp.o iperf3_profile-iperf_udp.o 
iperf3_profile-iperf_util.o iperf3_profile-locale.o iperf3_profile-net.o 
iperf3_profile-tcp_info.o iperf3_profile-tcp_window_size.o 
iperf3_profile-timer.o iperf3_profile-units.o  libiperf.a
make[2]: Leaving directory `/home/charlie/iperf3/iperf/src'
make[1]: Leaving directory `/home/charlie/iperf3/iperf/src'
make[1]: Entering directory `/home/charlie/iperf3/iperf'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/charlie/iperf3/iperf'
charlie@HP-Lab2:~/iperf3/iperf$ make check
Making check in src
make[1]: Entering directory `/home/charlie/iperf3/iperf/src'
make  check-TESTS
make[2]: Entering directory `/home/charlie/iperf3/iperf/src'
PASS: t_timer
t_units: t_units.c:30: main: Assertion `1000.0 * 0.5 == unit_atof("0.5k")' 
failed.
/bin/bash: line 4:  7671 Aborted                 (core dumped) ${dir}$tst
FAIL: t_units
cookie: 'HP-Lab2.1384528206.950836.14ca8f3751'
PASS: t_uuid
==================================================
1 of 3 tests failed
Please report to iperf-users@lists.sourceforge.net
==================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/charlie/iperf3/iperf/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/charlie/iperf3/iperf/src'
make: *** [check-recursive] Error 1

Original issue reported on code.google.com by CharlesA...@gmail.com on 16 Nov 2013 at 10:04

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by jef.posk...@gmail.com on 10 Dec 2013 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by bltier...@es.net on 10 Dec 2013 at 2:41