Skip to content

tpm2: Implement API call to recreate the SVN base secret

54671af
Select commit
Loading
Failed to load commit list.
Draft

WIP: Add support for enabling the SVN-limited hierarchy #470

tpm2: Implement API call to recreate the SVN base secret
54671af
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Pull Request succeeded Nov 12, 2024 in 33m 4s

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 #470 Add support for enabling the SVN-limited hierarchy.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in parallel.

Job Compiler ENV OS State
3405.1 COVERITY_SCAN_TOKEN=[secure] Linux passed
3405.2 COVERITY_SCAN_TOKEN=[secure] Linux passed
3405.3 COVERITY_SCAN_TOKEN=[secure] Linux passed
3405.4 clang COVERITY_SCAN_TOKEN=[secure] macOS passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Focal)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "env": [
    "global=COVERITY_SCAN_TOKEN=[secure]"
  ],
  "addons": {
    "apt": {
      "packages": [
        "automake",
        "autoconf",
        "pkgconf",
        "libtool",
        "libssl-dev",
        "sed",
        "make",
        "gawk",
        "sed",
        "bash",
        "dh-exec",
        "libseccomp-dev"
      ]
    },
    "coverity_scan": {
      "project": {
        "name": "libtpms",
        "description": "Build submitted via Travis CI"
      },
      "notification_email": "stefanb@linux.vnet.ibm.com",
      "build_command_prepend": "./autogen.sh --with-openssl --with-tpm2; make clean",
      "build_command": "make -j$(nproc)",
      "branch_pattern": "coverity_scan"
    }
  },
  "script": [
    "./autogen.sh ${CONFIG}",
    "make -j$(${NPROC}) ${TARGET}"
  ],
  "after_failure": [
    "for f in tests/*.log; do echo \">>>>>>> $f <<<<<<<\"; tail -n 50 $f; done"
  ],
  "before_install": [
    "test $TRAVIS_BRANCH != coverity_scan -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0"
  ],
  "jobs": {
    "include": [
      {
        "env": [
          {
            "CONFIG": "\"--with-openssl --prefix=/usr --with-tpm2\"",
            "TARGET": "distcheck",
            "NPROC": "\"nproc\"",
            "CFLAGS": "\"-O3\""
          }
        ]
      },
      {
        "env": [
          {
            "CONFIG": "\"--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage\"",
            "TARGET": "\"install\"",
            "NPROC": "\"nproc\""
          }
        ],
        "dist": "jammy",
        "before_script": [
          "sudo pip install cpp-coveralls"
        ],
        "script": [
          "./autogen.sh ${CONFIG} && sudo make -j$(nproc) ${TARGET} && sudo make -j$(nproc) check && git clone https://github.com/stefanberger/swtpm.git && pushd swtpm && sudo rm -rf /dev/tpm* && sudo apt -y install devscripts equivs python3-twisted expect libtasn1-dev socat findutils gnutls-dev gnutls-bin tss2 python3-setuptools libjson-glib-dev && ./autogen.sh --with-gnutls --prefix=/usr && export SWTPM_TEST_EXPENSIVE=1 SWTPM_TEST_IBMTSS2=1 && sudo make -j$(nproc) check && popd"
        ],
        "after_success": [
          "uidgid=\"$(id -nu):$(id -ng)\" && sudo chown -R ${uidgid} ./ && cpp-coveralls -b src -e tests -e swtpm --gcov-options '\\-lp'"
        ]
      },
      {
        "env": [
          {
            "CONFIG": "\"--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage --disable-use-openssl-functions\"",
            "TARGET": "\"install\"",
            "NPROC": "\"nproc\""
          }
        ],
        "dist": "jammy",
        "script": [
          "./autogen.sh ${CONFIG} && sudo make -j$(nproc) ${TARGET} && sudo make -j$(nproc) check && git clone https://github.com/stefanberger/swtpm.git && pushd swtpm && sudo rm -rf /dev/tpm* && sudo apt -y install devscripts equivs python3-twisted expect libtasn1-dev socat findutils gnutls-dev gnutls-bin tss2 python3-setuptools libjson-glib-dev && ./autogen.sh --with-gnutls --prefix=/usr && export SWTPM_TEST_EXPENSIVE=1 SWTPM_TEST_IBMTSS2=1 && sudo make -j$(nproc) check && popd"
        ]
      },
      {
        "env": [
          {
            "CONFIG": "\"--with-openssl --prefix=/usr --with-tpm2\"",
            "TARGET": "check",
            "NPROC": "\"sysctl -n hw.ncpu\"",
            "CFLAGS": "\"-I/usr/local/opt/openssl/include\"",
            "LDFLAGS": "\"-L/usr/local/opt/openssl/lib\""
          }
        ],
        "os": "osx",
        "compiler": "clang"
      }
    ]
  }
}