gramineproject / contrib

Repository for third party scripts and other contributions related to Gramine
10 stars 19 forks source link

Verifier build fails with error `Version '1.6' for 'gramine' was not found` #78

Closed anjalirai-intel closed 8 months ago

anjalirai-intel commented 8 months ago

Steps to Reproduce: Build any workload by choosing attestation as test or done(provide ssl keys)

Error:

RUN env DEBIAN_FRONTEND=noninteractive apt-get update     && env DEBIAN_FRONTEND=noninteractive apt-get install -y     libsgx-dcap-default-qpl=1.16.100.2-jammy1     gramine=1.6
 ---> Running in dde3d482917e
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy InRelease [1236 B]
Get:6 https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy/main amd64 Packages [64.0 kB]
Get:7 https://packages.gramineproject.io jammy InRelease [3275 B]
Get:8 https://packages.gramineproject.io jammy/main amd64 Packages [1059 B]
Fetched 69.6 kB in 3s (25.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package gramine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Version '1.6' for 'gramine' was not found
The command '/bin/sh -c env DEBIAN_FRONTEND=noninteractive apt-get update     && env DEBIAN_FRONTEND=noninteractive apt-get install -y     libsgx-dcap-default-qpl=1.16.100.2-jammy1     gramine=1.6' returned a non-zero code: 100

pytorch_with_attestation_encrypted_image_verifier.log

dimakuv commented 8 months ago

@woju That will be for you.

anjalirai-intel commented 8 months ago

@dimakuv @woju PR #80 does not fix this issue, the changes should go in https://github.com/gramineproject/contrib/blob/master/Intel-Confidential-Compute-for-X/verifier/verifier.dockerfile.template

I am not able to reopen the ticket. Can we reopen the ticket.

dimakuv commented 8 months ago

@jkr0103 This feels like you need to fix stuff in Curated Apps?

jkr0103 commented 8 months ago

I'll create a PR today to fix this. Please assign to me

anjalirai-intel commented 8 months ago

completed as part of https://github.com/gramineproject/contrib/pull/82