Closed ye1xchen closed 2 years ago
Testing with branch v22.07 had the same problem. Delete the docker-compose parameter “--scale build_base=0” in build/storage/tests/it/run.sh and rerun build/storage/tests/it/run.sh successfully with branch v22.07.
Previously, it failed to pull fedora36 due to network reasons, so I replaced it with fedora33 test, and now I have successfully pulled fedora36. Retry using image fedora 36 instead of image fedora 33 and it doesn't have this problem.
run build/storage/tests/it/run.sh failed after build container successfully. ...... [+] Building 715.8s (22/22) FINISHED => [internal] load build definition from Dockerfile 0.3s => => transferring dockerfile: 91B 0.0s => [internal] load .dockerignore 0.2s => => transferring context: 93B 0.0s => [internal] load metadata for docker.io/library/fedora:33 0.0s => [internal] load build context 2.6s => => transferring context: 145.66MB 2.5s => [base 1/6] FROM docker.io/library/fedora:33 0.0s => CACHED [spdk 2/7] RUN mkdir /spdk-rpm 0.0s => CACHED [base 2/6] RUN dnf install -y git && dnf clean all 0.0s => CACHED [base 3/6] COPY spdk/ /spdk 0.0s => CACHED [base 4/6] RUN mkdir /spdk-rpm 0.0s => CACHED [base 5/6] COPY core/build_base/pre-install /install 0.0s => CACHED [base 6/6] RUN chmod +x /install && /install 0.0s => CACHED [spdk 3/7] COPY --from=base /spdk-rpm/*.rpm /spdk-rpm/ 0.0s => CACHED [spdk 4/7] COPY --from=base /spdk-rpm/fio /spdk-rpm/ 0.0s => CACHED [spdk 5/7] RUN dnf install -y python python3-pip && dnf clean all && python -m pip install --no-cache-dir grpcio grpcio-tools protobuf==3.20.2 0.0s => CACHED [spdk 6/7] COPY core/build_base/post-install /install 0.0s => CACHED [spdk 7/7] RUN chmod +x /install && /install 0.0s => CACHED [spdk-app 1/2] RUN dnf install -y socat && dnf clean all 0.0s => CACHED [spdk-app 2/2] COPY core/spdk-app/init /init 0.0s => [cmd-sender-base 1/3] RUN dnf install -y socat grpc-cli jq && dnf clean all 709.6s => [cmd-sender-base 2/3] COPY tests/it/test-drivers/test-helpers /test-helpers 0.9s => [cmd-sender-base 3/3] COPY scripts/ /scripts 0.6s => exporting to image 1.4s => => exporting layers 1.2s => => writing image sha256:bca10b3158e8c902816559deca56a543b1342528bba0d3730fa9b7998c2088dc 0.0s => => naming to docker.io/library/test-driver 0.0s WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. unknown service "build_base"
run cmd "docker-compose -f docker-compose.yml up --exit-code-from test-driver --scale build_base=0" WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "TEST_CASE_NAME" variable is not set. Defaulting to a blank string. WARN[0000] The "DEBUG" variable is not set. Defaulting to a blank string. WARN[0000] The "NUMBER_OF_DEVICES_TO_ATTACH_IN_SCALE_OUT" variable is not set. Defaulting to a blank string. WARN[0000] The "MAX_NUMBER_OF_NAMESPACES" variable is not set. Defaulting to a blank string. unknown service "build_base"
OS: fedora 34 IPDK version: Last main branch(commit 637e132b30d4e8fdddfffe9a157614ae63e04deb)