* Added ability to merge cli and config reporter options
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test cases to validate working of reporter configuration using cli and config
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Documentation change to add information on reporter configurations usage with both
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added Doc review changes and text fixture for config json
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify pipeline test fixes for reporter options to be read successfully
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test changes in both cli and config reporter usage scenarios to fix verify pipeline
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Review comments to improvise
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Renamed testing fixture file for reporter cli config file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* CHEF-3832: Fix for InSpec Parallel fails to fetch remote profiles due to cache contention.
This fix creates the write exclusive lock on the cache directory of profile till write operation is finished for git fetcher
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Refactored to have locking and unlocking logic inside cache. Cache directory is not required for archived directories and this is currently only required by git fetcher
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* REFACTOR: adds method in fetcher to return true if requires cache locking mechanism to avoid cache contention
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Adds exception handling
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Handles interruption in cache creation process to avoid empty cache directory creation or currupted data
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Refactored to handle interruption through SystemExit
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Fixed the failing test. While creating lock cache_key need to be extracted from the respective fetcher.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
---------
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* test github action
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding verify private to this pipeline
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding private pipeline definition file
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* testing workflow
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* forcing public false
Signed-off-by: Sean Simmons <ssimmons@progress.com>
---------
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* test github action
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding verify private to this pipeline
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding private pipeline definition file
Signed-off-by: Sean Simmons <ssimmons@progress.com>
---------
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* Import simplified expeditor config from inspec-prime inspec-6 branch. Significantly, privatize the verify pipeline.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Import verify scripts from inspec-prime inspec-6 branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Remove public: false per sean
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
---------
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* FIX: Handle invalid license exception as handled in base_cli:57
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Use 174 error code when exiting with license subsystem error from license add
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
---------
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Adds test for licensing_config
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Fix lint
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Read the value of license server url from env for test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Spell InSpec corrrectly in test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
---------
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Add support for custom port with a socket connection
* Add tests for the postgres_session with custom port
---------
Signed-off-by: Pg <pg.developper.fr@gmail.com>
Co-authored-by: Pg <pg.developper.fr@gmail.com>
* Error logging changes to fix renaming of files in windows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Parallel rename, delete and logging fix for windows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Log path changes reverted after testing with static logs directory
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fix lint
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Logic to rename error log files on interrupt
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* An attempt to reduce the delay on control c interrupt by killing child process instantly
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Only rename existing file of the child process to avoid conficts in renaming
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fix in renaming with control-c interrupt by invoking from command library itself
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added logic to wait for processes to die after process kill, to fix error on interrupt
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Removed idle inititation on status super reporter for parallel - needs future improvements
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fileutils Mkdir usage refactoring
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Update Docker base image to be ubuntu 22.04
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* SUPPORT: Update dockerfile for m1 support
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
---------
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Sending EOF Marker at the end of of the whole suit run here instead of depending on the controls count
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@progress.com>