Skip to content

Commit

Permalink
Merge pull request #6400 from filecoin-project/fix-lotus-soup-tests
Browse files Browse the repository at this point in the history
testplans: lotus-soup: use default WPoStChallengeWindow
  • Loading branch information
magik6k authored Jun 7, 2021
2 parents 1c26b72 + c7c029e commit 0117584
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions testplans/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ download-proofs:
go run github.com/filecoin-project/go-paramfetch/paramfetch 2048 ./docker-images/proof-parameters.json

build-images:
docker build -t "iptestground/oni-buildbase:v14-lotus" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
docker build -t "iptestground/oni-runtime:v9" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
docker build -t "iptestground/oni-runtime:v9-debug" -f "docker-images/Dockerfile.oni-runtime-debug" "docker-images"
docker build -t "iptestground/oni-buildbase:v15-lotus" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
docker build -t "iptestground/oni-runtime:v10" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
docker build -t "iptestground/oni-runtime:v10-debug" -f "docker-images/Dockerfile.oni-runtime-debug" "docker-images"

push-images:
docker push iptestground/oni-buildbase:v14-lotus
docker push iptestground/oni-runtime:v9
docker push iptestground/oni-runtime:v9-debug
docker push iptestground/oni-buildbase:v15-lotus
docker push iptestground/oni-runtime:v10
docker push iptestground/oni-runtime:v10-debug

pull-images:
docker pull iptestground/oni-buildbase:v14-lotus
docker pull iptestground/oni-runtime:v9
docker pull iptestground/oni-runtime:v9-debug
docker pull iptestground/oni-buildbase:v15-lotus
docker pull iptestground/oni-runtime:v10
docker pull iptestground/oni-runtime:v10-debug

.PHONY: download-proofs build-images push-images pull-images
2 changes: 1 addition & 1 deletion testplans/docker-images/Dockerfile.oni-buildbase
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM golang:${GO_VERSION}-buster

RUN apt-get update && apt-get install -y ca-certificates llvm clang mesa-opencl-icd ocl-icd-opencl-dev jq gcc git pkg-config bzr libhwloc-dev

ARG FILECOIN_FFI_COMMIT=d82899449741ce190e950a3582ebe33806f018a9
ARG FILECOIN_FFI_COMMIT=8b97bd8230b77bd32f4f27e4766a6d8a03b4e801
ARG FFI_DIR=/extern/filecoin-ffi

RUN mkdir -p ${FFI_DIR} \
Expand Down
2 changes: 1 addition & 1 deletion testplans/docker-images/Dockerfile.oni-runtime-debug
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN go get github.com/filecoin-project/go-paramfetch/paramfetch@master
COPY /proof-parameters.json /
RUN paramfetch 8388608 /proof-parameters.json

ARG LOTUS_COMMIT=7e25a811c3d80ea3e007a54aa1da089985110c2c
ARG LOTUS_COMMIT=b8deee048eaf850113e8626a73f64b17ba69a9f6

## for debug purposes
RUN apt update && apt install -y mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config libhwloc-dev curl && git clone https://github.com/filecoin-project/lotus.git && cd lotus/ && git checkout ${LOTUS_COMMIT} && make clean && make all && make install
Expand Down
2 changes: 1 addition & 1 deletion testplans/lotus-soup/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {
// deadline when the challenge is available.
//
// This will auto-scale the proving period.
policy.SetWPoStChallengeWindow(abi.ChainEpoch(5))
// policy.SetWPoStChallengeWindow(abi.ChainEpoch(5)) // commented-out until we enable PoSt faults tests

// Number of epochs between publishing the precommit and when the challenge for interactive PoRep is drawn
// used to ensure it is not predictable by miner.
Expand Down
4 changes: 2 additions & 2 deletions testplans/lotus-soup/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ enabled = true

[builders."docker:go"]
enabled = true
build_base_image = "iptestground/oni-buildbase:v14-lotus"
runtime_image = "iptestground/oni-runtime:v9-debug"
build_base_image = "iptestground/oni-buildbase:v15-lotus"
runtime_image = "iptestground/oni-runtime:v10-debug"

[runners."local:exec"]
enabled = true
Expand Down

0 comments on commit 0117584

Please sign in to comment.