Answering your questions:
1. What commands did you execute to "graminize" the original Docker image with GSC?
docker build --tag ive-pcie-test --file Dockerfile .
cd ../..
./gsc build -c config.yaml --insecure-args ive-pcie-test:latest test/generic.manifest
./gsc sign-image ive-pcie-test:latest enclave-key.pem
2. What command do you use to start the resulting Docker image?
docker run --device=/dev/sgx_enclave -e SANDSTONE_LOOP=false -e SANDSTONE_BIN="/ive/content/ive-watch" -e SANDSTONE_ARGS="-name=ive-test -display=both -- 27:00.0=.,.,x8 27:00.1=.,.,x8" -v /pub/logs:/var/local/logs --privileged --entrypoint /tests/scripts/run-specific.sh gsc-ive-pcie-test:latest
3. What is the workload that you're testing, what is the output?
I created the workload, it shows some error that can be fixed.
4. How do you run the Docker image on the SGX-enabled node and the non-SGX-enabled node? Please paste the logs.
I used the following command to run the container in both nodes:
docker run --device=/dev/sgx_enclave -e SANDSTONE_LOOP=false -e SANDSTONE_BIN="/ive/content/ive-watch" -e SANDSTONE_ARGS="-name=ive-test -display=both -- 27:00.0=.,.,x8 27:00.1=.,.,x8" -v /pub/logs:/var/local/logs --privileged --entrypoint /tests/scripts/run-specific.sh gsc-ive-pcie-test:latest
This is the log in both nodes:
Thu Mar 2 21:21:39 UTC 2023
test-start-indicator
[IVE-WATCH]: Logging "ive-test" messaging into "/ive/content/logs/ive-test_20230302-212140.log" using "both" display method
[IVE-WATCH]: WARNING! TIME parameter undefined or set to zero! Setting runtime to one year and disabling time control functions.
[IVE-WATCH]: WARNING! KEEPALIVE parameter undefined or set to zero! Setting periodic alive messaging every thirty minutes.
[IVE-WATCH]: "ive-test" executing under "container" environment
[IVE-WATCH]: The following environment variables are available:
[IVE-WATCH]: NAME = ive-test
[IVE-WATCH]: TIME = 31536000
[IVE-WATCH]: OUT_FOLDER = /ive/content/output
[IVE-WATCH]: RUN_ENV = container
[IVE-WATCH]: LOG_FOLDER = /ive/content/logs
[IVE-WATCH]: OUT_FOLDER = /ive/content/output
[IVE-WATCH]: Starting source/content-run.sh 27:00.0=.,.,x8 27:00.1=.,.,x8
not ok - Device 01:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 02:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 03:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 04:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 15:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 15:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 15:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 16:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 16:00.1 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 2d:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 2d:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 2d:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 2e:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 2e:00.1 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 45:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 45:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 45:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 75:03.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 75:03.1 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 75:03.2 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 75:04.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 76:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 78:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 7a:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 7c:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device 7e:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 7e:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device 7e:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device c5:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device c5:00.1 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device db:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device db:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device db:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device f2:03.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f2:03.1 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f2:03.2 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f2:04.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f3:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f5:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f7:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device f9:00.0 has errors: CESta[AdvNonFatalErr+], DevSta[CorrErr+], DevSta[UnsupReq+], UESta[UnsupReq+],
not ok - Device fe:00.0 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device fe:00.1 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - Device fe:00.2 has errors: CESta[AdvNonFatalErr+], UESta[UnsupReq+],
not ok - 44 errors found, 298 devices checked