Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt enclu execution on main enclave thread exiting #493

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Cleaning up

caee4f8
Select commit
Failed to load commit list.
Open

Interrupt enclu execution on main enclave thread exiting #493

Cleaning up
caee4f8
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 2, 2023 in 19m 20s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #493 #165 Abort hanged enclave thread by SIGUSR1.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Rust
Operating System Linux (Xenial)
Build Configuration
{
  "language": "rust",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "branches": {
    "only": [
      "staging",
      "trying",
      "master"
    ]
  },
  "jobs": {
    "include": [
      {
        "os": "linux",
        "dist": "focal",
        "addons": {
          "apt": {
            "sources": [
              {
                "sourceline": "deb https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main",
                "key_url": "https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key"
              },
              {
                "sourceline": "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main",
                "key_url": "https://apt.llvm.org/llvm-snapshot.gpg.key"
              }
            ],
            "packages": [
              "faketime",
              "protobuf-compiler",
              "libsgx-dcap-ql-dev",
              "clang-11",
              "musl-tools"
            ]
          }
        },
        "rust": "stable",
        "env": [
          {
            "RUST_BACKTRACE": "1"
          },
          {
            "CFLAGS_x86_64_fortanix_unknown_sgx": "\"-isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening\""
          },
          {
            "CC_x86_64_fortanix_unknown_sgx": "clang-11"
          }
        ],
        "before_script": [
          "sudo rm -rf /usr/local/*clang*",
          "rustup target add x86_64-fortanix-unknown-sgx x86_64-unknown-linux-musl",
          "rustup toolchain add nightly",
          "rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly"
        ],
        "script": [
          "cargo test --verbose --locked --all --exclude sgxs-loaders && [ \"$(echo $(nm -D target/debug/sgx-detect|grep __vdso_sgx_enter_enclave))\" = \"w __vdso_sgx_enter_enclave\" ]",
          "cargo test --verbose --locked -p dcap-ql --features link",
          "cargo test --verbose --locked -p dcap-ql --features verify",
          "cargo test --verbose --locked -p ias --features mbedtls",
          "cargo test --verbose --locked -p ias --features client,mbedtls",
          "cargo +nightly build --verbose --locked -p aesm-client --target=x86_64-fortanix-unknown-sgx",
          "cargo +nightly build --verbose --locked -p aesm-client --target=x86_64-fortanix-unknown-sgx --features sgx-isa/sgxstd",
          "cargo +nightly test --verbose --locked -p sgx-isa --features sgxstd --target x86_64-fortanix-unknown-sgx --no-run",
          "cargo test --locked -p nitro-attestation-verify --no-run && faketime '2021-09-10 11:00:00 GMT' cargo test --locked -p nitro-attestation-verify --lib",
          "mkdir -p /tmp/muslinclude && ln -sf /usr/include/x86_64-linux-gnu/openssl /tmp/muslinclude/openssl && PKG_CONFIG_ALLOW_CROSS=1 CFLAGS=-I/tmp/muslinclude cargo build --locked -p fortanix-sgx-tools --target x86_64-unknown-linux-musl",
          "cargo build --verbose --locked -p em-app -p get-certificate -p harmonize --target=x86_64-unknown-linux-musl",
          "cargo build --verbose --locked -p em-app -p get-certificate -p harmonize --target=x86_64-fortanix-unknown-sgx",
          "./doc/generate-api-docs.sh"
        ]
      }
    ]
  }
}