Commit Graph

54 Commits

Author SHA1 Message Date
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
a41b0f2fe4
Windows Docker images needed some work (#817)
* Use openssl 3.3 in aca windows images [no ci]

* Further attempt to compile the tpm simulator on Windows [no ci]

* Sw tpm vs solution was updated to look for libcrypto in different place
[no ci]

* Similar steps for tss tools [no ci]

* Change workflow ref [no ci]

* REF not connecting [no ci]

* Try accessing through Env [no ci]

* Tried to print build args before selecting image [no ci]

* Different arg access before shell change [no ci]

* Fun with docker args [no ci]

* Fun with docker build args 2 [no ci]

* Adjust for change in package folder structure [no ci]
2024-07-25 19:19:18 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
7c99b81b10
supplychainvalidationsummary will look up rims by ID (#805)
* Lookup here needed summary id from device object

* Portal linkage issue

* CertificatesUsed not working properly with RIM

* Maybe need to link to base rim

* Rim test 1 needed hw file

* Working on CI

* Connecting new tpm2_common

* Edited the way scripts called in docker exec

* TPM for reset each test

* Defining efi paths in CI env file

* Forgot to close while loops

* Connecting default test files

* Variable was wrong [no ci]

* Added ACA tests using uploaded artifacts

* Trying to chmod rim_setup.sh

* rim_setup chmod issues

* Added aca tests 9 and 10 to workflow

* Added cases 9 and 10 for aca policy tests

* Exit test scripts with error if one test fails

* Attempt to solve uploaded rim linkup

* Try only setting tagId if not null

* updateSupportRimInfo was not setting associated rim on base

* Attempt alternate lookup of rim by device name

* Trouble with event log archived

* Used wrong variable

* Fix spotbugs

* Try again

* Change SupplyChainValidation.message size to MAX_MESSAGE_LENGTH
2024-07-22 06:03:09 -04:00
iadgovuser62
7a1a6b73b0
[#775] Adding Policy Tests to V3 (#776)
* Adding ACA Policy tests with modifications to related files

* Separating the system tests setup from the tests themselves + Splitting up ACA Policy Tests into different steps in workflow file

* Creating separate script for setting up system tests in workflow, and one script for running system tests locally. Adding details to system test steps.
2024-06-07 06:28:25 -04:00
iadgovuser62
85c62f845e Added CI functionality to checkout current branch on ACA container in system tests; Added ACA-CI Dockerfile which has been pushed to registry; Renamed Provisioner for CI Dockerfile for consistency 2024-05-03 12:40:16 -04:00
iadgovuser62
144160dbfa
Adding system test for provision using Provisioner.NET (#748)
* Adding run script, Dockerfile, and container setup script for provisioning with TPM Simulator and Provisioner.Net

* Replacing Docker container setup script with Docker Compose .yml file with respective configurations in related files

* Adding system_test.yml for GitHub actions to run system tests upon V3 branch pushes. Modifying related files accordingly

* Replacing V2 ACA with V3 ACA built from Rocky 9
2024-05-01 14:20:51 -04:00
iadgovuser29
4d1de7db83 ACA dockerfile updated ref to package/linux 2024-03-14 21:52:39 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
24d81b9da2
create_aca_images workflow passes branch ref to dockerfiles (#729)
* Update ACA image workflow to pass ref to dockerfiles [no ci]

* Use GITHUB_REF_NAME instead [no ci]

* Change variable usage [no ci]

* Use build arg instead of env [no ci]
2024-03-06 20:51:13 -05:00
iadgovuser29
07f86d08c4 GitHub Workflow to create V3 ACA docker images 2024-02-01 11:25:34 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
355cec9e9a
Updated compose files for the acceptance test for Windows and Linux (#672)
* Linux will require different network driver for the acceptance test
container.

* default compose network does not work the same on Windows
2024-01-17 11:16:31 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
2ab1e548ce
V3 json file platform (#631)
* Look for Component Class json on Windows. Update aca-windows

* Removed TPM from the ACA on Rocky image, changed container detection

* Change healthcheck function on windows.

* Remove commented code lines from aca_bootRun.ps1

* Added SWTPM to v3 ACA images. 

* Add build arg to the aca-windows Dockerfile to select base image tag

* Make ACA accessible from localhost
2023-12-06 10:20:56 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
1e3c7c78b0
Dockerfiles for v3 ACA. Also Powershell Package Scripts (#628)
* Package scripts for powershell

* Adding dockerfiles
2023-11-09 11:54:51 -05:00
iadgovuser26
03ee0bfda8 Updated the dockerfile for Ubuntu 22 2023-10-11 19:56:36 +00:00
iadgovuser26
80dc42dae5 addeded OS sepcific checks for mariadb 2023-10-05 20:06:17 +00:00
iadgovuser26
9998fa7f22 Merge branch 'main' into v3_issue_578-rpm_update 2023-09-19 16:31:21 -04:00
iadgovuser58
5092718c3c updated to include protobuf-compiler and cronie 2023-09-18 11:22:43 -04:00
iadgovuser26
7f7238f4d2 added a chron job to start the ACA on reboot 2023-09-13 16:56:39 -04:00
iadgovuser26
cb4ad4d51a Updated gradle to v8.3 and nebula to 11.4.0 2023-09-06 16:10:16 -04:00
iadgovuser58
91169c1083 removed a couple lines of commented code 2023-08-16 09:45:30 -04:00
iadgovuser58
f1a5bb7fd3 updated github actions unit test yml, added Rocky 8.8 Dockerfile 2023-08-15 17:10:34 -04:00
iadgovuser26
98ef3126ad Added a Dockerfile for Rocky Linux 2022-11-02 09:51:47 -04:00
syncomp-dev1
a898faa38a Files added for ACA Docker image workflow 2022-09-01 09:03:02 -04:00
iadgovuser26
ef5b2e4c09 fixed dockerfile reference for tpm2provisioner 2022-05-03 16:06:51 -04:00
iadgovuser26
625ecd06f2 updated workflow for use with github packages 2022-04-29 14:14:46 -04:00
iadgovuser26
29b7857784 added ACA build output 2022-04-20 10:46:26 -04:00
iadgovuser26
6e0d7a3f6f updated ACA Dockerfile 2022-04-19 16:51:06 -04:00
iadgovuser26
cb4426ceb7 added docker login 2022-04-12 18:12:14 -04:00
iadgovuser26
4a19bd01ce GitHub package test 2022-04-11 16:43:29 -04:00
lareine
7013552e78 added tests folder
added tests folder

test tcg_boot.properties fix
2022-02-23 13:54:21 -05:00
iadgovuser26
56bf20246f file name refactor 2022-01-26 12:08:29 -05:00
iadgovuser26
27b2ad870c added dev/mem reference 2022-01-10 14:52:34 -05:00
iadgovuser26
8e97b57c5c added system test for Platform Cert policy 2022-01-10 13:36:38 -05:00
lareine
979adfdae3 System test passes 2021-11-17 11:33:44 -05:00
lareine
09d71ddc18 initial ci system test refactor 2021-11-16 16:51:42 -05:00
busaboy1340
b73b7f218b
[#228] Update TPM Provisioner Docker images with latest PACCOR (v1.1.4r2) (#229)
* Update Docker TPMProvisioner images to latest PACCOR.

* Test updated docker images from hirs Docker Hub

* Update TPM Provisioner Docker images with latest PACCOR (v1.1.4r1)

* Updated TPM images on Docker Hub.

* Update TPM provisioner docker images with PACCOR v1.1.4r2

* Updated docker-compose files

* Updated TPM provisioner images in Docker Hub.
2020-02-25 10:30:37 -05:00
busaboy1340
b899e0bbe0
[#224] Update TPM Provisioner Docker images with latest PACCOR (v1.1.4r1) (#225)
* Update Docker TPMProvisioner images to latest PACCOR.

* Test updated docker images from hirs Docker Hub

* Update TPM Provisioner Docker images with latest PACCOR (v1.1.4r1)

* Updated TPM images on Docker Hub.
2020-02-25 09:51:45 -05:00
busaboy1340
6838a38fbc
[#220] Update TPM Provisioner Docker images with latest PACCOR (v1.1.3r4) (#221)
* Update Docker TPMProvisioner images to latest PACCOR.

* Test updated docker images from hirs Docker Hub
2020-02-20 06:29:48 -05:00
busaboy1340
da836a0862
[#216] Upgrade docker images and system tests to support python3 (#219)
* Updated docker images to use python3

* Updated docker compose files.

* Test Travis CI

* Test Travis CI

* Updated Dockerfiles.

* Updated .travis.yml

* Cleaned up scripts.

* Cleaned up scripts.

* Updated docker-compose files.

* Updated amazonlinux2 image with python3.

* Updated system test driver.

* Updated system test driver

* Cleaned up import in test driver.

* Updated setup scripts to output python version
2020-01-17 07:05:05 -05:00
busaboy1340
a2497c064c
[#88] Integrate System Tests with Dockerized TPM 1.2 Provisioner (#208)
* 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
[#194] Update TPM Provisioner Docker images with latest PACCOR (v1.1.3r3) (#205)
* 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
[#194] Update TPM Provisioner Docker images with latest PACCOR (v1.1.3r3) (#200)
* [#195] 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
[#192] Update TPM Provisioner docker images with latest PACCOR (#193)
* 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
4b4f811735
[#176] Initial delta system test to resolve bad component in a base certificate (#177)
* 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 (#175) 2019-07-29 10:41:28 -04:00
busaboy1340
440bb06b70
Create initial system test for Base/Delta Platform Certificates (#170)
* 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
a00be77d5c
[# 153] Update TPM 2.0 emulator docker image with latest PACCOR (#158)
* 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
[#138] Add Platform Attribute Validation to System Tests (TPM 2.0 Emulator) (#141)
* 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
[#144] Rename integration-tests folder to setup under .ci directory (#145) 2019-05-22 16:33:34 -04:00
apldev3
e846225e75 [#139] Remove Maintainer Tags from Dockerfiles 2019-05-16 12:13:19 -04:00
apldev4
74ab4d46b1 [#105] 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
apldev3
5eeebabcc2 [#90] Add Amazon Linux Package test to Travis CI 2019-02-22 13:06:49 -05:00