Commit Graph

74 Commits

Author SHA1 Message Date
busaboy1340
1c6947ca8a
Cleaned up python imports. () 2020-01-06 11:54:28 -05:00
busaboy1340
0f3cfeb7b5
Update system_test.py
Updated the disable_warnings library.
2019-12-23 05:50:21 -05:00
busaboy1340
a2497c064c
[] Integrate System Tests with Dockerized TPM 1.2 Provisioner ()
* Initial system test for TPM 1.2 emulator.

* Update .travis.yml file.

* Added system test: test_20_tpm_1_2_initial_provision

* Cleaned up files.

* Correct docker location

* Re-arranged system tests.

* Execute test_12_attestation_ca_portal_online for all current collectors.

* Clean up files.

* Cleaned up files.

* Cleaned up files.

* Cleaned up files.

* Cleaned up files

* Updated system test driver.

* Set logging properties to DEBUG.

* Commented out test_13_tpm_1_2_initial_provision. Need to fix it.
2019-12-23 05:28:26 -05:00
busaboy1340
404f2ab5dd
[] Update TPM Provisioner Docker images with latest PACCOR (v1.1.3r3) ()
* PACCOR Testing.

* PACCOR Testing.

* PACCOR Testing.

* PACCOR Testing

* PACCOR Testing

* Updated Dockerfile.tpm2provisioner

* Cleaned up files.

* Point to the updated tpm2provisioner in hirs/hirs-ci, on Docker Hub.

* Cleaned up files.

* Used specific PACCOR script(allcomponents_hirs_system_test.sh) for
system tests.

* Added new PACCOR script for review.
Will be moved into the PACCOR project when permissions are granted.
2019-12-10 06:07:05 -05:00
busaboy1340
00287725da
[] Update TPM Provisioner Docker images with latest PACCOR (v1.1.3r3) ()
* [] Components identified by Component Class will have hardware IDs translated to names

* Update TPM Docker images to latest PACCOR(v1.1.3r3). Comment out the
failing system tests caused by invalid input to PACCOR.
2019-11-07 09:37:06 -05:00
busaboy1340
75b9c2ddf7
[] Update TPM Provisioner docker images with latest PACCOR ()
* Updated TPM Docker images to use PACOR (v1.1.2r3) and TPM 2.0 Emulator
(v1332)

* Use updated TPM Provisioner docker images from Docker Hub.
2019-10-01 09:53:04 -04:00
busaboy1340
6a59033768
Updated system tests from changes in latest Master build. () 2019-09-11 07:55:24 -04:00
busaboy1340
db2f80edb9
Fix latest merge onto master ()
* Add Base/Delta to .travis.yml

* Implement Delta system test.

* Removed un-needed scripts.

* Update system_test_Driver.py

* Update system_test.py
2019-08-21 06:30:46 -04:00
busaboy1340
4b4f811735
[] Initial delta system test to resolve bad component in a base certificate ()
* Add Base/Delta to .travis.yml

* Implement Delta system test.

* Removed un-needed scripts.

* Update system_test_Driver.py
2019-08-02 12:39:56 -04:00
busaboy1340
aa707b8665
Updated images to use paccor v1.1.2r2 () 2019-07-29 10:41:28 -04:00
busaboy1340
440bb06b70
Create initial system test for Base/Delta Platform Certificates ()
* Add creation of bad base platform certificate.

* Adding Base Certificate system test.

* Adding Base Certificate system test.

* Adding Base Certificate system test.

* Adding Base Certificate system test.

* Updated script to add faulty components to bad base certificate.

* Updated addFaultyComponents script.

* Add Base/Delta system tests to .travis.yml

* Disable unit tests to decrease CI time.

* Cleaned up code.

* Cleaned up code.

* Delete system_test_Driver.py
2019-07-19 05:50:26 -04:00
busaboy1340
2329d725e8
Use DER format when creating platform credential. () 2019-06-18 13:00:49 -04:00
busaboy1340
a00be77d5c
[# 153] Update TPM 2.0 emulator docker image with latest PACCOR ()
* Updating PACCOR for docker images.

* Updating PACCOR for docker images.

* Clean up Dockerfiles.

* Updated docker images to use PACCOR 1.1.2-1
2019-06-12 10:38:57 -04:00
busaboy1340
59ad180688
[] Add Platform Attribute Validation to System Tests (TPM 2.0 Emulator) ()
* Platform Attribute verification for system tests. Upgrade to latest TPM2 Emulator.

* Corrected docker-compose-tpm2.yml file.
2019-05-23 05:53:54 -04:00
apldev3
5c0e4e8373
[] Rename integration-tests folder to setup under .ci directory () 2019-05-22 16:33:34 -04:00
apldev3
e846225e75 [] Remove Maintainer Tags from Dockerfiles 2019-05-16 12:13:19 -04:00
apldev4
74ab4d46b1 [] Updated tpm_version to get data from TPM hardware.
The TPM 2 Provisioner gets packaged with an application called
tpm_version, which reported hard-coded values for the TPM
manufacturer and version. Now it collects those things from
the TPM and reports them.
2019-05-01 16:11:00 -04:00
busaboy1340
0bc9b94d3e
[] Add clean up of dangling docker containers for TPM 2.0 system tests ()
* Added clean up of dangling docker containers.

* Added clean up of dangling docker containers.

* Added clean up of dangling docker containers.
2019-04-08 06:57:22 -04:00
apldev3
5eeebabcc2 [] Add Amazon Linux Package test to Travis CI 2019-02-22 13:06:49 -05:00
apldev3
ec8c4b5c3e
[] Dockerize TPM 1.2 Provisioner and Integrate with Docker Compose ()
* [] Initial Dockerization of TPM 1.2 Provisioner

* Fix permissions on new script

* Fix current bugs

* [] Try a new direction for setting up TPM 1.2 Provisioner Testing

* [] Attempt to the latest version of Trousers on Travis CI VM for 1.2 Provisioner support

* [] Try IBM TPM 1.2 Emulator

* [] Move towards cleaning up work

* [] Update TPM1.2 Provisioner Docker to work with Docker Compose in Systems Test

* [] Get TPM 1.2 Provisioner to provision successfully in Docker container

* Update system tests script to include TPM 1.2 Provisioner container

* [] Separate TPM 1.2 and 2.0 Provisioner System Tests

* [] Pipe TPM Emulator log output to file to clear up system test output
2019-02-04 14:26:54 -05:00
busaboy1340
afd5fd29e4
[] Systems Tests not Reporting Failure Correctly ()
* Test failing system tests report correctly in Travis.

* Test successful system tests report correctly in Travis.

* Test failing system tests report correctly in Travis.

* Test successful system tests report correctly in Travis.

* Test failing system tests report correctly in Travis.

* Test successful system tests report correctly in Travis.
2019-02-01 06:00:10 -05:00
apldev4
bce78c0122 [] hirs-provisioner-tpm2 on path after installation. ()
There was a problem in the rpm-post-install.sh script
that ran as part of the CentOS7 rpm installation where
a link was being created called libcurl.so which pointed
to libcurl.so.4. If the link could not be created because
it already existed, the script would quit before finishing
and never place hirs-provisioner-tpm2 in a directory on
the PATH.

The proper solution was to link hirs-provisioner against
libcurl.so.4 so that it is clear which version of the API
was compiled against. This was not happening because
we were linking against a version of curl build by the CPR
project which was not properly embedding the SONAME in the
shared object file. By linking instead against the shared
object file distributed in the development package of
libcurl, hirs-provisioner-tpm2 now looks for libcurl.so.4
rather than the generic libcurl.so. This will prevent our
executable from breaking if libcurl.so gets updated to point
to a newer version of libcurl that uses a different API.

Closes .
2019-01-31 11:50:43 -05:00
busaboy1340
17d7dbd6f7
Add systems tests for HIRS Provisioner TPM 2.0 ()
* Added System Tests.

* Cleaned up scripts

* Cleaned up system tests.

* Cleaned up system tests.

* Cleaned up system tests.

* Updated system tests.

* Code review updates.
2019-01-15 12:46:06 -05:00
apldev3
05a78a3d79
[] Setup Travis for HIRS Integration Tests ()
* [] Ensure Travis mounts repository rather than clones it in Docker

* [] Containerize HIRS ACA and prep ACA container for Integration Tests

* [] Containerize HIRS TPM2Provisioner and prep TPM2Provisioner container for Integration Tests

* [] Replace localinstall with install

* [] Prevent rebuilding of packages unnecessarily

* [] Finish initial docker compose setup for integration tests

* [] Allow for detection of complete Integration Environment Setup

* [] Fix Travis CI to allow for detecting Integ Test Environ Stand-Up

* [] Fix Initial Integration Test Script

* [] Troubleshoot Integration Test script
2019-01-07 15:28:53 -05:00