GoogleCloudPlatform / PerfKitBenchmarker

PerfKit Benchmarker (PKB) contains a set of benchmarks to measure and compare cloud offerings. The benchmarks use default settings to reflect what most users will see. PerfKit Benchmarker is licensed under the Apache 2 license terms. Please make sure to read, understand and agree to the terms of the LICENSE and CONTRIBUTING files before proceeding.
https://googlecloudplatform.github.io/PerfKitBenchmarker/
Apache License 2.0
1.91k stars 516 forks source link

Python3 Readiness #1989

Closed imswynne closed 5 years ago

imswynne commented 5 years ago

Hi, I'm a Cloud Software Engineer at Intel and am curious about the current state of Python3 readiness in PerfkitBenchmarker. I've noticed a lot of Python3 compatibility commits in the last few months, but as of a couple of weeks ago, I couldn't run PKB with Python3. Is it on track for the end of Python2 support? If this is something you could use help with, a summary of the current status and areas that need work would be useful to help us determine if this is something we can help with in a coordinated way. We already have the CLA taken care of.

Thanks, Michael Wynne

dlott commented 5 years ago

Hi Michael,

Yes, we are on track to move to Python3 by the time Python2 support ends. We have a fair bit of automated testing we're running internally with Python3 coverage. Unfortunately we have to wrap the PKB code for our build system, which looks like it's missed a few paths that are probably what's blocking you. Those should now be addressed by https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/1993

The benchmarks we are currently running regularly in Python3 are:

aerospike_certification_tool
aerospike_ycsb
aws_dynamodb_ycsb
cassandra_ycsb
cluster_boot
copy_throughput
dpb_distcp_benchmark
dpb_spark_pi_benchmark
dpb_testdfsio_benchmark
fio
gluster_fio
gpu_pcie_bandwidth
hpcc
iperf
lmbench
mongodb_ycsb
multichase
netperf
object_storage_service
redis
specsfs2014

Please give your main use cases a try and let us know how they work. We are adding them as time permits and will gladly accept pull requests for new benchmarks.

dlott commented 5 years ago

Closing due to age. Feel free to reopen or open a new issue if you have specific repro and pkb.log you'd like me to take a look at.