GoogleCloudPlatform / GoogleCloudPlatform/PerfKitBenchmarker

Bonnie++ benchmarking error. Should add uid when running as root.

Open
#1,071 0 comments 0 reactions 0 assignees View on GitHub
enhancement P1
Dominant language
Python
Stars
2k
Forks
562
Avg merge
4h 55m
Merged PRs (30d)
69

Description

You must use the "-u" switch when running as root.

RemoteCommandError: Got non-zero return code (1) executing /usr/sbin/bonnie++ -q -d /scratch -s 7583 -n 100 -f
Full command: ssh -A -p 22 root@ip -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /root/key /usr/sbin/bonnie++ -q -d /scratch -s 7583 -n 100 -f
STDOUT: STDERR: Warning: Permanently added '100.21.83.119' (ECDSA) to the list of known hosts.
You must use the "-u" switch when running as root.
usage:
bonnie++ [-d scratch-dir] [-c concurrency] [-s size(MiB)[:chunk-size(b)]]
[-n number-to-stat[:max-size[:min-size][:num-directories[:chunk-size]]]]
[-m machine-name] [-r ram-size-in-MiB]
[-x number-of-tests] [-u uid-to-use:gid-to-use] [-g gid-to-use]
[-q] [-f] [-b] [-p processes | -y] [-z seed | -Z random-file]
[-D]

Version: 1.96

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.