Skip to content
Jingyu Zhou edited this page Oct 25, 2022 · 5 revisions
git clone https://github.com/FoundationDB/fdb-joshua.git
cd fdb-joshua

docker build --tag fdb-joshua:latest .

docker run -it -v /root:/jzhou -u root:root fdb-joshua bash
[root@jzhou-dev-okteto-74d945965d-d2xd4 ~]# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
47ac4586a1e2        fdb-joshua          "bash"              13 seconds ago      Up 11 seconds                           wizardly_williams
[root@jzhou-dev-okteto-74d945965d-d2xd4 ~]# docker cp correctness-7.2.0.tar.gz 47ac4586a1e2:/tmp

[root@47ac4586a1e2 tmp]# which python3
/usr/bin/python3
[root@47ac4586a1e2 tmp]# source /opt/rh/devtoolset-8/enable && source /opt/rh/rh-python38/enable && source /opt/rh/rh-ruby27/enable
[root@47ac4586a1e2 tmp]# which python3
/opt/rh/rh-python38/root/usr/bin/python3
[root@47ac4586a1e2 tmp]# JOSHUA_SEED=1566239177460063150 ./joshua_test

# python3 -m test_harness.app -s 6353129725037996977 --old-binaries-path  ${OLDBINDIR} --no-clean-up  --random-seed 2455225261 --trace-format xml