Test Deployment Cleanup and Reporting

 

Test Deployment Cleanup and Reporting
[AMXAdminTask] 04 Apr 2024 16:16:57  INFO - Starting cleanup of Health Check Sample Applications for 6 Nodes
[AMXAdminTask] 04 Apr 2024 16:16:57 INFO - [1/6]Undeploying and deleting Sample Applications for Node 'DevEnvironment:DevNode'
[AMXAdminTask] 04 Apr 2024 16:17:02 INFO - Undeployed and deleted Sample Applications for node 'DevEnvironment:DevNode'
[AMXAdminTask] 04 Apr 2024 16:17:02 INFO - [2/6]Undeploying and deleting Sample Applications for Node 'DevEnvironment:Node3'
[AMXAdminTask] 04 Apr 2024 16:17:08 INFO - Undeployed and deleted Sample Applications for node 'DevEnvironment:Node3'
[AMXAdminTask] 04 Apr 2024 16:17:08 INFO - [3/6]Undeploying and deleting Sample Applications for Node 'DevEnvironment:Node1'
[AMXAdminTask] 04 Apr 2024 16:17:13 INFO - Undeployed and deleted Sample Applications for node 'DevEnvironment:Node1'
[AMXAdminTask] 04 Apr 2024 16:17:13 INFO - [4/6]Undeploying and deleting Sample Applications for Node 'DevEnvironment:Node4'
[AMXAdminTask] 04 Apr 2024 16:17:17 INFO - .
[AMXAdminTask] 04 Apr 2024 16:17:18 INFO - Undeployed and deleted Sample Applications for node 'DevEnvironment:Node4'
[AMXAdminTask] 04 Apr 2024 16:17:18 INFO - [5/6]Undeploying and deleting Sample Applications for Node 'DevEnvironment:Node2'
[AMXAdminTask] 04 Apr 2024 16:17:24 INFO - Undeployed and deleted Sample Applications for node 'DevEnvironment:Node2'
[AMXAdminTask] 04 Apr 2024 16:17:24 INFO - [6/6]Undeploying and deleting Sample Applications for Node 'SystemEnvironment:SystemNode'
[AMXAdminTask] 04 Apr 2024 16:17:29 INFO - Undeployed and deleted Sample Applications for node 'SystemEnvironment:SystemNode'
[AMXAdminTask] 04 Apr 2024 16:17:32 INFO - Health Check cleanup is now complete. Deleting DAA: com.tibco.amf.admin.deployment.health.app.daa
[AMXAdminTask] 04 Apr 2024 16:17:32 INFO - Deleted DAA: com.tibco.amf.admin.deployment.health.app.daa successfully
[AMXAdminTask] 04 Apr 2024 16:17:32 INFO - Enterprise Notification ping initiated at - 04 Apr 2024 16:17:32
[AMXAdminTask] 04 Apr 2024 16:17:32 INFO - .
[AMXAdminTask] 04 Apr 2024 16:17:33 INFO - Enterprise Notification ping completed in 1 seconds
[AMXAdminTask] 04 Apr 2024 16:17:33 INFO - Received 20 out of 20 replies [14 Host(s) and 6 Node(s).]
[AMXAdminTask] 04 Apr 2024 16:17:39 INFO - ------------------------------------------
[AMXAdminTask] 04 Apr 2024 16:17:39 INFO - Enterprise Deployment Health Check is now Complete with the status PASSED.
[AMXAdminTask] 04 Apr 2024 16:17:39 INFO - ------------------------------------------
[AMXAdminTask] 04 Apr 2024 16:17:39 INFO - Publishing Health Check report to the [XML format] file: C:\AMX342V18_Fresh\ConfigHome\admin\amxadmin\samples\DeploymentHealthCheckReport_root_healthcheck_2024-04-04-161552.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/C:/AMX342V18_Fresh/components/shared/1.0.0/plugins/com.tibco.tpcl.javax.system.exports_5.1.100.002/jaxb-impl-2.2.6.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[AMXAdminTask] 04 Apr 2024 16:17:40 INFO - Health Check report file was created successfully.
[AMXAdminTask] 04 Apr 2024 16:17:40 INFO - Action finished at 4/4/24, 4:17 PM in 108.224 seconds
he:
BUILD SUCCESSFUL
Total time: 1 minute 52 seconds

This final portion of the Enterprise Deployment Health Check output shows that the Sample Application deployed on each Node now being undeployed and deleted from that Environment/Node.

Once the undeployment and deletion of the Sample Applications is completed successfully (without any errors), the overall result of Enterprise Deployment Health Check is "PASSED", as is the case with the Health Check run above. In case there are any errors during the Health Check invocation, the overall result of the Enterprise Deployment Health Check is "FAILED" and all the failures are listed as part of the output.

All the data collected during Enterprise Deployment Health Check run is recorded in a report file, based on your preference in terms of format (XML or JSON) and report location. The complete path of the report file is displayed at the end of the Enterprise Deployment Health Check run.

Note: In the event that the Test Deployment Cleanup fails, that is, the Sample Application's undeployment fails, you can re-run the cleanup target alone using the "clean.apps" target as follows:

ant -f enterprise_healthcheck_build.xml clean.apps