Skip to content

Non JSON error message at the end of JSON output at the client-side of the measurement #1143

@zokl

Description

@zokl
  • Version of iperf3: master, 787919c

  • Hardware: x86_64

  • Operating system (and distribution, if any): Linux, OpenWRT, iperf compiler from github repo

Bug Report

  • Expected Behavior

  • Actual Behavior

Non JSON error message at the end of JSON output at the client-side of the measurement. For now, I found only described behavior for this message: "iperf3: error - unable to send control message: Broken pipe". Server-side produces valid JSON output.

Wrong JSON output on client-side

client-4.iperf3.gz

			"remote_total":	0,
			"remote_user":	0,
			"remote_system":	0
		},
		"sender_tcp_congestion":	"cubic"
	}
}
iperf3: error - unable to send control message: Broken pipe

Good JSON output on server-side

server-4.iperf3.gz

				"bytes":	0,
				"bits_per_second":	0,
				"omitted":	false,
				"sender":	false
			}
		}],
	"end":	{
	},
	"error":	"error - select failed: Bad file descriptor"
}
  • Steps to Reproduce

/usr/bin/iperf3 -c 1.2.3.4 --connect-timeout 1000 -t 3600 --logfile test-4.iperf3 -p 5201 -J --parallel 5 -i 1 --window 32k --set-mss 1400
/usr/bin/iperf3 -c 1.2.3.4 --connect-timeout 1000 -t 3600 --logfile test-2.iperf3 -p 5200 -J -R --parallel 5 -i 1 --window 32k --set-mss 1400

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions