2025-08-06 08:26:28,183 - INFO - Domain Default found not creating 2025-08-06 08:26:28,369 - INFO - Project ctest-SecurityGroupBasicRegressionTests1_contrail-79572474 not found, creating it 2025-08-06 08:26:28,995 - INFO - Created Project:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474, ID : 66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:30,671 - INFO - ================================================================================ 2025-08-06 08:26:30,671 - INFO - STARTING TEST : test_sec_group_basic 2025-08-06 08:26:30,671 - INFO - TEST DESCRIPTION : Description: Test basic SG features 1. Security group create and delete 2. Create security group with custom rules and then update it for tcp 3. Launch VM with custom created security group and verify 4. Remove secuity group association with VM 5. Add back custom security group to VM and verify 6. Try to delete security group with association to VM. It should fail. 7. Test with ping, which should fail 8. Test with TCP which should pass 9. Update the rules to allow icmp, ping should pass now. 2025-08-06 08:26:31,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-08-06 08:26:31,952 - INFO - Initial checks done. Running the testcase now 2025-08-06 08:26:31,952 - INFO - 2025-08-06 08:26:32,309 - INFO - Creating Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] 2025-08-06 08:26:32,510 - DEBUG - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] created succesfully 2025-08-06 08:26:32,510 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:32,807 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:32,839 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:32,857 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:32,967 - DEBUG - Requesting: http://10.0.0.48:8082/security-group/53cb4428-b30a-4ccf-8d8c-f1f09bc8dbe2 2025-08-06 08:26:32,984 - INFO - Security group ctest-test_sec_group-65665828 found in the API Server 2025-08-06 08:26:32,984 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:32,992 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:33,008 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:33,117 - DEBUG - Requesting: http://10.0.0.48:8082/access-control-lists 2025-08-06 08:26:33,130 - INFO - Validated that ACLs for Security group ctest-test_sec_group-65665828 are present in API Server 2025-08-06 08:26:33,137 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.48 2025-08-06 08:26:33,145 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.48 2025-08-06 08:26:33,153 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.254 2025-08-06 08:26:33,161 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.254 2025-08-06 08:26:33,174 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.38 2025-08-06 08:26:33,183 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.38 2025-08-06 08:26:33,183 - INFO - Validated SG ctest-test_sec_group-65665828 in Control nodes 2025-08-06 08:26:33,183 - INFO - Deleting Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] 2025-08-06 08:26:33,290 - INFO - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] deleted successfully. 2025-08-06 08:26:33,291 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:33,300 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:33,314 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:33,426 - INFO - Security group ctest-test_sec_group-65665828 removed from the API Server 2025-08-06 08:26:33,427 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:33,446 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:33,460 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:33,578 - DEBUG - Requesting: http://10.0.0.48:8082/access-control-lists 2025-08-06 08:26:33,594 - DEBUG - ACLs for Security group ctest-test_sec_group-65665828 removed from the API Server 2025-08-06 08:26:33,615 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.48 2025-08-06 08:26:33,630 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.48 2025-08-06 08:26:33,638 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.254 2025-08-06 08:26:33,647 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.254 2025-08-06 08:26:33,654 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.38 2025-08-06 08:26:33,665 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.38 2025-08-06 08:26:33,665 - INFO - Validated that SG ctest-test_sec_group-65665828 is not in control nodes 2025-08-06 08:26:33,673 - INFO - Creating Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] 2025-08-06 08:26:33,907 - DEBUG - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] created succesfully 2025-08-06 08:26:33,907 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:33,920 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:33,952 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:34,096 - DEBUG - Requesting: http://10.0.0.48:8082/security-group/68e13022-9186-4897-941f-79d90c06c52c 2025-08-06 08:26:34,120 - INFO - Security group ctest-test_sec_group-65665828 found in the API Server 2025-08-06 08:26:34,120 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:34,175 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:34,208 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:34,339 - DEBUG - Requesting: http://10.0.0.48:8082/access-control-lists 2025-08-06 08:26:34,361 - INFO - Validated that ACLs for Security group ctest-test_sec_group-65665828 are present in API Server 2025-08-06 08:26:34,375 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.48 2025-08-06 08:26:34,387 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.48 2025-08-06 08:26:34,395 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.254 2025-08-06 08:26:34,402 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.254 2025-08-06 08:26:34,410 - INFO - Validated that Security group ctest-test_sec_group-65665828 is found in control node 10.0.0.38 2025-08-06 08:26:34,418 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs found in the control node 10.0.0.38 2025-08-06 08:26:34,418 - INFO - Validated SG ctest-test_sec_group-65665828 in Control nodes 2025-08-06 08:26:34,418 - DEBUG - Replace all the rules of this security group ctest-test_sec_group-65665828 with the new rules 2025-08-06 08:26:34,419 - DEBUG - [{'protocol': 'tcp', 'dst_addresses': [{'subnet': {'ip_prefix': '54.20.100.0', 'ip_prefix_len': '26'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'src_addresses': [{'security_group': 'local'}]}, {'protocol': 'tcp', 'src_addresses': [{'subnet': {'ip_prefix': '54.20.100.0', 'ip_prefix_len': '26'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'dst_addresses': [{'security_group': 'local'}]}] 2025-08-06 08:26:34,876 - DEBUG - Response for create_network : {'network': {'id': '2c4984da-7825-4ef2-be1d-ec6bb9112022', 'name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'tenant_id': '6643512560a0433cbcca9189bb5d3562', 'project_id': '6643512560a0433cbcca9189bb5d3562', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 08:26:35,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '67b43e95-ee23-4ab3-9cb0-20972a3656fd', 'name': '', 'tenant_id': '6643512560a0433cbcca9189bb5d3562', 'network_id': '2c4984da-7825-4ef2-be1d-ec6bb9112022', 'ip_version': 4, 'cidr': '54.20.100.0/26', 'allocation_pools': [{'start': '54.20.100.2', 'end': '54.20.100.62'}], 'gateway_ip': '54.20.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.20.100.2', 'tags': [], 'project_id': '6643512560a0433cbcca9189bb5d3562'}} 2025-08-06 08:26:35,217 - INFO - Created VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:26:35,236 - DEBUG - VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 UUID is 2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,341 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:35,348 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:35,375 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:35,497 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,528 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,548 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:26:35,565 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:26:35,581 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/b4fdf4da-5451-494f-b3be-97fbb3d953ce 2025-08-06 08:26:35,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 08:26:35,591 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,614 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:26:35,633 - INFO - Verified VN network id 15 for VN 2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,633 - INFO - Verifications in API Server for VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 passed 2025-08-06 08:26:35,633 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,648 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:26:35,661 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:26:35,674 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/b4fdf4da-5451-494f-b3be-97fbb3d953ce 2025-08-06 08:26:35,691 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3191227884822154994', 'uuid-lslong': '13699365588941479970'}, 'enable': 'true', 'created': '2025-08-06T08:26:34', 'last-modified': '2025-08-06T08:26:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.586187'} 2025-08-06 08:26:35,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 08:26:35,706 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3191227884822154994', 'uuid-lslong': '13699365588941479970'}, 'enable': 'true', 'created': '2025-08-06T08:26:34', 'last-modified': '2025-08-06T08:26:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.599126'} 2025-08-06 08:26:35,714 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 08:26:35,721 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3191227884822154994', 'uuid-lslong': '13699365588941479970'}, 'enable': 'true', 'created': '2025-08-06T08:26:34', 'last-modified': '2025-08-06T08:26:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.615872'} 2025-08-06 08:26:35,728 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 08:26:35,728 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 passed 2025-08-06 08:26:35,729 - DEBUG - ====Verifying policy data for ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 in API_Server ====== 2025-08-06 08:26:35,729 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:26:35,738 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:26:35,754 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:26:35,862 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/2c4984da-7825-4ef2-be1d-ec6bb9112022 2025-08-06 08:26:35,876 - DEBUG - =>VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 has no policy to be verified 2025-08-06 08:26:35,876 - DEBUG - Verifying the vn in opserver 2025-08-06 08:26:35,876 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 virtual network link through opserver 10.0.0.48 2025-08-06 08:26:35,877 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,172 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat'} 2025-08-06 08:26:36,246 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 virtual network link through opserver 10.0.0.254 2025-08-06 08:26:36,247 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,541 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat'} 2025-08-06 08:26:36,617 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 virtual network link through opserver 10.0.0.38 2025-08-06 08:26:36,617 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,916 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-06 08:26:36,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat'} 2025-08-06 08:26:36,994 - INFO - Validated that VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is found in opserver 2025-08-06 08:26:37,029 - DEBUG - Do not have enough data to verify VN in agent 2025-08-06 08:26:37,048 - DEBUG - VRF ids for VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675: {} 2025-08-06 08:26:37,203 - DEBUG - Services list from nova: [, , , ] 2025-08-06 08:26:38,483 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 08:26:40,048 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-2) 2025-08-06 08:26:40,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 08:26:45,268 - DEBUG - VM is in ACTIVE state now 2025-08-06 08:26:45,268 - INFO - VM name : ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:26:45,357 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 ID is 63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:45,472 - DEBUG - VM is in ACTIVE state now 2025-08-06 08:26:45,501 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 08:26:45,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:45,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:45,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:45,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:26:45,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:45,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:26:45,996 - DEBUG - Requesting: http://10.0.0.38:8082/instance-ip/ed23a061-b316-43a2-8f0f-cf218d3d716c 2025-08-06 08:26:46,009 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:26:46,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:26:46,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:26:46,036 - DEBUG - Requesting: http://10.0.0.38:8082/instance-ip/ed23a061-b316-43a2-8f0f-cf218d3d716c 2025-08-06 08:26:46,054 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 verfication in all API Servers passed 2025-08-06 08:26:46,080 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 Tap interface: {'index': '3', 'name': 'tap3fb44529-7d', 'uuid': '3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'vrf_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '15', 'vn_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'vm_uuid': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509', 'ip_addr': '54.20.100.3', 'mac_addr': '02:3f:b4:45:29:7d', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '84', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'sg_uuid_list': ['68e13022-9186-4897-941f-79d90c06c52c'], 'static_route_list': None, 'vm_project_uuid': '66435125-60a0-433c-bcca-9189bb5d3562', 'admin_state': 'Enabled', 'flow_key_idx': '31', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-08-06 08:26:46,080 - DEBUG - Agent 10.0.0.49 vrf name: default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:26:46,089 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'table_label': '-1', 'vxlan_id': '15', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.193:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]} 2025-08-06 08:26:46,250 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 : Tap interface tap3fb44529-7d is set to Active 2025-08-06 08:26:46,251 - DEBUG - Tap interface tap3fb44529-7d detail : {'index': '3', 'name': 'tap3fb44529-7d', 'uuid': '3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'vrf_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '15', 'vn_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'vm_uuid': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509', 'ip_addr': '54.20.100.3', 'mac_addr': '02:3f:b4:45:29:7d', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '84', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'sg_uuid_list': ['68e13022-9186-4897-941f-79d90c06c52c'], 'static_route_list': None, 'vm_project_uuid': '66435125-60a0-433c-bcca-9189bb5d3562', 'admin_state': 'Enabled', 'flow_key_idx': '31', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-08-06 08:26:46,412 - DEBUG - Starting Layer 2 verification in Agent 2025-08-06 08:26:46,427 - DEBUG - Layer 2 path is seen for VM MAC 02:3f:b4:45:29:7d in agent 10.0.0.49 2025-08-06 08:26:46,428 - DEBUG - Active layer 2 route in agent is present for VMI tap3fb44529-7d 2025-08-06 08:26:46,428 - DEBUG - L2 label(29) matches bw route table and interface table 2025-08-06 08:26:46,437 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is found in Agent of node 10.0.0.49 2025-08-06 08:26:46,633 - DEBUG - VRF IDs of VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is consistent in agent 10.0.0.49 2025-08-06 08:26:46,633 - DEBUG - Route for VM IP ['54.20.100.3'] is consistent in agent 10.0.0.49 2025-08-06 08:26:46,633 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 verification for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 in Agent 10.0.0.49 passed 2025-08-06 08:26:46,798 - DEBUG - Starting all layer 2 verification in agent 10.0.0.49 2025-08-06 08:26:46,815 - DEBUG - Route for VM MAC 02:3f:b4:45:29:7d is consistent in agent 10.0.0.49 2025-08-06 08:26:46,825 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is found in Agent of node 10.0.0.57 2025-08-06 08:26:47,011 - DEBUG - VRF IDs of VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is consistent in agent 10.0.0.57 2025-08-06 08:26:47,011 - DEBUG - Route for VM IP ['54.20.100.3'] is consistent in agent 10.0.0.57 2025-08-06 08:26:47,012 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 verification for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 in Agent 10.0.0.57 passed 2025-08-06 08:26:47,173 - DEBUG - Starting all layer 2 verification in agent 10.0.0.57 2025-08-06 08:26:47,196 - DEBUG - Route for VM MAC 02:3f:b4:45:29:7d is consistent in agent 10.0.0.57 2025-08-06 08:26:50,426 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-08-06 08:26:50,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:26:50,448 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:26:54,528 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-08-06 08:26:54,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:26:54,550 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:26:58,614 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-08-06 08:26:58,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:26:58,632 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:27:02,712 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-08-06 08:27:02,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:27:02,731 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:27:06,817 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-08-06 08:27:06,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:27:06,845 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:27:10,935 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-08-06 08:27:10,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:27:10,955 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:27:15,037 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-08-06 08:27:15,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed! 2025-08-06 08:27:15,056 - DEBUG - Gateway for vn default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is 54.20.100.1 and allocation pool is NOT set 2025-08-06 08:27:17,119 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.010/4.523/7.037/2.513 ms') 2025-08-06 08:27:17,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 passed 2025-08-06 08:27:17,120 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 verifications in Compute nodes passed 2025-08-06 08:27:17,390 - DEBUG - Validated VM route 54.20.100.3 in vrouter of 10.0.0.49 2025-08-06 08:27:17,398 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0 2025-08-06 08:27:17,687 - DEBUG - Validated VM route 54.20.100.3 in vrouter of 10.0.0.57 2025-08-06 08:27:17,695 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: 10.20.0.193, 25; Got 10.20.0.193,25 2025-08-06 08:27:17,695 - DEBUG - Validated VM route 54.20.100.3 in vrouter of 10.0.0.57 2025-08-06 08:27:17,695 - INFO - Validated routes of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 in all vrouters 2025-08-06 08:27:18,246 - DEBUG - Starting all layer2 verification in 10.0.0.48 Control Node 2025-08-06 08:27:18,431 - DEBUG - Layer2 route found for VM MAC 02:3f:b4:45:29:7d in Control-node 10.0.0.48 2025-08-06 08:27:18,431 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 same between Control-node 10.0.0.48 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:18,431 - DEBUG - Starting all layer2 verification in 10.0.0.254 Control Node 2025-08-06 08:27:18,615 - DEBUG - Layer2 route found for VM MAC 02:3f:b4:45:29:7d in Control-node 10.0.0.254 2025-08-06 08:27:18,615 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 same between Control-node 10.0.0.254 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:18,615 - DEBUG - Starting all layer2 verification in 10.0.0.38 Control Node 2025-08-06 08:27:18,799 - DEBUG - Layer2 route found for VM MAC 02:3f:b4:45:29:7d in Control-node 10.0.0.38 2025-08-06 08:27:18,799 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 same between Control-node 10.0.0.38 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:18,799 - INFO - Verification in Control-nodes for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 passed 2025-08-06 08:27:18,799 - DEBUG - Verifying the vm in opserver 2025-08-06 08:27:18,799 - DEBUG - Verifying in collector 10.0.0.38 ... 2025-08-06 08:27:18,799 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat 2025-08-06 08:27:18,915 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a?flat 2025-08-06 08:27:18,992 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a?flat 2025-08-06 08:27:19,020 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat 2025-08-06 08:27:19,104 - DEBUG - Verifying vm in vn uve 2025-08-06 08:27:19,104 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a?flat 2025-08-06 08:27:19,183 - DEBUG - VM uve shows interface as {'rx_vlan': 65535, 'l2_active': True, 'ip6_active': False, 'ip4_active': True, 'is_health_check_active': True, 'virtual_network': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'mac_address': '02:3f:b4:45:29:7d', 'admin_state': True, 'vn_uuid': '2c4984da-7825-4ef2-be1d-ec6bb9112022', 'vhostuser_mode': 0, '__T': 1754468813939259, 'vm_uuid': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'uuid': '3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'ip6_address': '::', 'active': True, 'tx_vlan': 65535, 'fixed_ip4_list': ['54.20.100.3'], 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509', 'gateway': '54.20.100.1', 'ip_address': '54.20.100.3', 'label': 25, 'port_mirror_enabled': False} 2025-08-06 08:27:19,183 - DEBUG - VM uve shows ip address as ['54.20.100.3', '::'] 2025-08-06 08:27:19,183 - DEBUG - VM uve shows virtual network as default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:19,184 - INFO - Verifying through opserver in 10.0.0.48 2025-08-06 08:27:19,184 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat 2025-08-06 08:27:19,217 - DEBUG - expected vm list 63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:27:19,217 - DEBUG - Extracted vm list ['63538129-6625-48d2-82b1-b0cf62dc65b5'] 2025-08-06 08:27:19,217 - INFO - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is present in default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:19,217 - DEBUG - Verifying vm in vrouter uve 2025-08-06 08:27:19,217 - DEBUG - Getting info from collector 10.0.0.38.. 2025-08-06 08:27:19,217 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat 2025-08-06 08:27:19,238 - DEBUG - VM uve shows vrouter as ['an-jenkins-deploy-platform-ansible-os-3761-1'] 2025-08-06 08:27:19,238 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-1:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:27:19,302 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-1?flat 2025-08-06 08:27:19,397 - DEBUG - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:27:19,397 - DEBUG - Validated that VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is in Vrouter an-jenkins-deploy-platform-ansible-os-3761-1 UVE 2025-08-06 08:27:19,397 - DEBUG - Verifying vm tap interface/vn in vrouter uve 2025-08-06 08:27:19,406 - DEBUG - Expected tap interface of VM uuid 63538129-6625-48d2-82b1-b0cf62dc65b5 is default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:27:19,406 - DEBUG - Expected VN of VM uuid 63538129-6625-48d2-82b1-b0cf62dc65b5 is default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:19,406 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-1:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:27:19,457 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-1?flat 2025-08-06 08:27:19,502 - DEBUG - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:27:19,502 - INFO - tap interface default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:3fb44529-7d9d-4bd3-8719-2570be3f0a0a of vm 63538129-6625-48d2-82b1-b0cf62dc65b5 is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:27:19,502 - DEBUG - Connected network default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 of vm 63538129-6625-48d2-82b1-b0cf62dc65b5 is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:27:19,503 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.48 2025-08-06 08:27:19,503 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machines 2025-08-06 08:27:19,522 - DEBUG - VM link and name as {'name': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat'} 2025-08-06 08:27:19,522 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.254 2025-08-06 08:27:19,522 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-machines 2025-08-06 08:27:19,596 - DEBUG - VM link and name as {'name': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat'} 2025-08-06 08:27:19,596 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.38 2025-08-06 08:27:19,596 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machines 2025-08-06 08:27:19,611 - DEBUG - VM link and name as {'name': '63538129-6625-48d2-82b1-b0cf62dc65b5', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5?flat'} 2025-08-06 08:27:19,611 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 validations in Opserver passed 2025-08-06 08:27:19,611 - INFO - Waiting for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 to be up.. 2025-08-06 08:27:19,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:19,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:27:19,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:27:20,845 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.938 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.938/1.547/2.157/0.609 ms') 2025-08-06 08:27:20,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 passed 2025-08-06 08:27:20,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:20,965 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509, IP 54.20.100.3, Port 22 2025-08-06 08:27:21,035 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-06 08:27:21,133 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 08:27:26,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:26,134 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509, IP 54.20.100.3, Port 22 2025-08-06 08:27:26,203 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-06 08:27:26,296 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 08:27:31,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:31,297 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509, IP 54.20.100.3, Port 22 2025-08-06 08:27:31,360 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-06 08:27:31,493 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 08:27:36,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:36,494 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509, IP 54.20.100.3, Port 22 2025-08-06 08:27:36,657 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is ready for SSH connections 2025-08-06 08:27:36,794 - DEBUG - VM is in ACTIVE state now 2025-08-06 08:27:36,794 - INFO - VM name : ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 2025-08-06 08:27:36,935 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 ID is cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:37,066 - DEBUG - VM is in ACTIVE state now 2025-08-06 08:27:37,066 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 launched on Node an-jenkins-deploy-platform-ansible-os-3761-2 2025-08-06 08:27:37,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:37,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:37,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5725cabf-182c-4978-b47a-93a3e1fc76b4 2025-08-06 08:27:37,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:37,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5725cabf-182c-4978-b47a-93a3e1fc76b4 2025-08-06 08:27:37,270 - DEBUG - Requesting: http://10.0.0.38:8082/instance-ip/93d76cfe-819f-4f08-a48d-969fa1c8ab93 2025-08-06 08:27:37,285 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:27:37,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:37,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5725cabf-182c-4978-b47a-93a3e1fc76b4 2025-08-06 08:27:37,308 - DEBUG - Requesting: http://10.0.0.38:8082/instance-ip/93d76cfe-819f-4f08-a48d-969fa1c8ab93 2025-08-06 08:27:37,317 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 verfication in all API Servers passed 2025-08-06 08:27:37,345 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 Tap interface: {'index': '3', 'name': 'tap5725cabf-18', 'uuid': '5725cabf-182c-4978-b47a-93a3e1fc76b4', 'vrf_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '15', 'vn_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'vm_uuid': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354', 'ip_addr': '54.20.100.4', 'mac_addr': '02:57:25:ca:bf:18', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '78', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4', 'sg_uuid_list': ['68e13022-9186-4897-941f-79d90c06c52c'], 'static_route_list': None, 'vm_project_uuid': '66435125-60a0-433c-bcca-9189bb5d3562', 'admin_state': 'Enabled', 'flow_key_idx': '28', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-08-06 08:27:37,345 - DEBUG - Agent 10.0.0.57 vrf name: default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:37,355 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'table_label': '-1', 'vxlan_id': '15', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.129:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]} 2025-08-06 08:27:37,493 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 : Tap interface tap5725cabf-18 is set to Active 2025-08-06 08:27:37,493 - DEBUG - Tap interface tap5725cabf-18 detail : {'index': '3', 'name': 'tap5725cabf-18', 'uuid': '5725cabf-182c-4978-b47a-93a3e1fc76b4', 'vrf_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '15', 'vn_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'vm_uuid': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354', 'ip_addr': '54.20.100.4', 'mac_addr': '02:57:25:ca:bf:18', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '78', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4', 'sg_uuid_list': ['68e13022-9186-4897-941f-79d90c06c52c'], 'static_route_list': None, 'vm_project_uuid': '66435125-60a0-433c-bcca-9189bb5d3562', 'admin_state': 'Enabled', 'flow_key_idx': '28', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-08-06 08:27:37,657 - DEBUG - Starting Layer 2 verification in Agent 2025-08-06 08:27:37,670 - DEBUG - Layer 2 path is seen for VM MAC 02:57:25:ca:bf:18 in agent 10.0.0.57 2025-08-06 08:27:37,671 - DEBUG - Active layer 2 route in agent is present for VMI tap5725cabf-18 2025-08-06 08:27:37,671 - DEBUG - L2 label(29) matches bw route table and interface table 2025-08-06 08:27:37,677 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is found in Agent of node 10.0.0.49 2025-08-06 08:27:37,858 - DEBUG - VRF IDs of VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is consistent in agent 10.0.0.49 2025-08-06 08:27:37,858 - DEBUG - Route for VM IP ['54.20.100.4'] is consistent in agent 10.0.0.49 2025-08-06 08:27:37,859 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 verification for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 in Agent 10.0.0.49 passed 2025-08-06 08:27:38,017 - DEBUG - Starting all layer 2 verification in agent 10.0.0.49 2025-08-06 08:27:38,031 - DEBUG - Route for VM MAC 02:57:25:ca:bf:18 is consistent in agent 10.0.0.49 2025-08-06 08:27:38,042 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is found in Agent of node 10.0.0.57 2025-08-06 08:27:38,228 - DEBUG - VRF IDs of VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is consistent in agent 10.0.0.57 2025-08-06 08:27:38,229 - DEBUG - Route for VM IP ['54.20.100.4'] is consistent in agent 10.0.0.57 2025-08-06 08:27:38,229 - DEBUG - VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 verification for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 in Agent 10.0.0.57 passed 2025-08-06 08:27:38,393 - DEBUG - Starting all layer 2 verification in agent 10.0.0.57 2025-08-06 08:27:38,415 - DEBUG - Route for VM MAC 02:57:25:ca:bf:18 is consistent in agent 10.0.0.57 2025-08-06 08:27:39,657 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 8.018/8.164/8.311/0.146 ms') 2025-08-06 08:27:39,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 passed 2025-08-06 08:27:39,657 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 verifications in Compute nodes passed 2025-08-06 08:27:39,914 - DEBUG - Validated VM route 54.20.100.4 in vrouter of 10.0.0.49 2025-08-06 08:27:39,922 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: 10.20.0.129, 25; Got 10.20.0.129,25 2025-08-06 08:27:39,922 - DEBUG - Validated VM route 54.20.100.4 in vrouter of 10.0.0.49 2025-08-06 08:27:40,098 - DEBUG - Validated VM route 54.20.100.4 in vrouter of 10.0.0.57 2025-08-06 08:27:40,105 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0 2025-08-06 08:27:40,105 - INFO - Validated routes of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 in all vrouters 2025-08-06 08:27:40,638 - DEBUG - Starting all layer2 verification in 10.0.0.48 Control Node 2025-08-06 08:27:40,811 - DEBUG - Layer2 route found for VM MAC 02:57:25:ca:bf:18 in Control-node 10.0.0.48 2025-08-06 08:27:40,812 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 same between Control-node 10.0.0.48 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:40,812 - DEBUG - Starting all layer2 verification in 10.0.0.254 Control Node 2025-08-06 08:27:40,998 - DEBUG - Layer2 route found for VM MAC 02:57:25:ca:bf:18 in Control-node 10.0.0.254 2025-08-06 08:27:40,998 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 same between Control-node 10.0.0.254 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:40,998 - DEBUG - Starting all layer2 verification in 10.0.0.38 Control Node 2025-08-06 08:27:41,184 - DEBUG - Layer2 route found for VM MAC 02:57:25:ca:bf:18 in Control-node 10.0.0.38 2025-08-06 08:27:41,185 - DEBUG - L2 Label for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 same between Control-node 10.0.0.38 and Agent, Expected: 29, Seen: 29 2025-08-06 08:27:41,185 - INFO - Verification in Control-nodes for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 passed 2025-08-06 08:27:41,185 - DEBUG - Verifying the vm in opserver 2025-08-06 08:27:41,185 - DEBUG - Verifying in collector 10.0.0.38 ... 2025-08-06 08:27:41,185 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat 2025-08-06 08:27:41,204 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4?flat 2025-08-06 08:27:41,227 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4?flat 2025-08-06 08:27:41,250 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat 2025-08-06 08:27:41,272 - DEBUG - Verifying vm in vn uve 2025-08-06 08:27:41,272 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machine-interface/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4?flat 2025-08-06 08:27:41,294 - DEBUG - VM uve shows interface as {'ip6_active': False, 'virtual_network': 'default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675', 'rx_vlan': 65535, 'l2_active': True, '__T': 1754468805573050, 'port_mirror_enabled': False, 'vhostuser_mode': 0, 'label': 25, 'vm_uuid': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'tx_vlan': 65535, 'fixed_ip4_list': ['54.20.100.4'], 'gateway': '54.20.100.1', 'ip4_active': True, 'active': True, 'ip6_address': '::', 'mac_address': '02:57:25:ca:bf:18', 'ip_address': '54.20.100.4', 'uuid': '5725cabf-182c-4978-b47a-93a3e1fc76b4', 'admin_state': True, 'vn_uuid': '2c4984da-7825-4ef2-be1d-ec6bb9112022', 'is_health_check_active': True, 'vm_name': 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354'} 2025-08-06 08:27:41,294 - DEBUG - VM uve shows ip address as ['54.20.100.4', '::'] 2025-08-06 08:27:41,294 - DEBUG - VM uve shows virtual network as default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:41,294 - INFO - Verifying through opserver in 10.0.0.48 2025-08-06 08:27:41,295 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat 2025-08-06 08:27:41,326 - DEBUG - expected vm list cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:41,326 - DEBUG - Extracted vm list ['cf477591-0787-4fd6-b0bf-d7502143527f'] 2025-08-06 08:27:41,326 - INFO - VM cf477591-0787-4fd6-b0bf-d7502143527f is present in default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:41,327 - DEBUG - Verifying vm in vrouter uve 2025-08-06 08:27:41,327 - DEBUG - Getting info from collector 10.0.0.38.. 2025-08-06 08:27:41,327 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat 2025-08-06 08:27:41,347 - DEBUG - VM uve shows vrouter as ['an-jenkins-deploy-platform-ansible-os-3761-2'] 2025-08-06 08:27:41,347 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-2:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:27:41,395 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-2?flat 2025-08-06 08:27:41,432 - DEBUG - VM cf477591-0787-4fd6-b0bf-d7502143527f is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-2 uve 2025-08-06 08:27:41,432 - DEBUG - Validated that VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is in Vrouter an-jenkins-deploy-platform-ansible-os-3761-2 UVE 2025-08-06 08:27:41,432 - DEBUG - Verifying vm tap interface/vn in vrouter uve 2025-08-06 08:27:41,442 - DEBUG - Expected tap interface of VM uuid cf477591-0787-4fd6-b0bf-d7502143527f is default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4 2025-08-06 08:27:41,442 - DEBUG - Expected VN of VM uuid cf477591-0787-4fd6-b0bf-d7502143527f is default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:27:41,442 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-2:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:27:41,488 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-2?flat 2025-08-06 08:27:41,532 - DEBUG - VM cf477591-0787-4fd6-b0bf-d7502143527f is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-2 uve 2025-08-06 08:27:41,532 - INFO - tap interface default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:5725cabf-182c-4978-b47a-93a3e1fc76b4 of vm cf477591-0787-4fd6-b0bf-d7502143527f is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-2 uve 2025-08-06 08:27:41,532 - DEBUG - Connected network default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 of vm cf477591-0787-4fd6-b0bf-d7502143527f is present in vrouter an-jenkins-deploy-platform-ansible-os-3761-2 uve 2025-08-06 08:27:41,532 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.48 2025-08-06 08:27:41,532 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machines 2025-08-06 08:27:41,548 - DEBUG - VM link and name as {'name': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat'} 2025-08-06 08:27:41,549 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.254 2025-08-06 08:27:41,549 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-machines 2025-08-06 08:27:41,566 - DEBUG - VM link and name as {'name': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat'} 2025-08-06 08:27:41,566 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.38 2025-08-06 08:27:41,566 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machines 2025-08-06 08:27:41,582 - DEBUG - VM link and name as {'name': 'cf477591-0787-4fd6-b0bf-d7502143527f', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f?flat'} 2025-08-06 08:27:41,582 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 validations in Opserver passed 2025-08-06 08:27:41,582 - INFO - Waiting for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 to be up.. 2025-08-06 08:27:41,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:41,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:27:41,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5725cabf-182c-4978-b47a-93a3e1fc76b4 2025-08-06 08:27:42,812 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=1.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.388/0.878/1.369/0.490 ms') 2025-08-06 08:27:42,812 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 passed 2025-08-06 08:27:42,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:42,939 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354, IP 54.20.100.4, Port 22 2025-08-06 08:27:43,005 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-06 08:27:43,097 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 08:27:48,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:48,098 - DEBUG - Waiting to SSH to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354, IP 54.20.100.4, Port 22 2025-08-06 08:27:48,269 - DEBUG - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is ready for SSH connections 2025-08-06 08:27:48,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:27:48,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:27:48,292 - DEBUG - Security group ctest-test_sec_group-65665828 is attached to the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:48,313 - DEBUG - Agent: Security group ctest-test_sec_group-65665828 is attached to the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:48,411 - INFO - Validated that SG ctest-test_sec_group-65665828 is bound to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:48,411 - INFO - Remove security group ctest-test_sec_group-65665828 from VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:48,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:27:48,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:27:48,690 - WARNING - Security group ctest-test_sec_group-65665828 is not attached to the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:48,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:27:48,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a 2025-08-06 08:27:48,996 - DEBUG - Security group ctest-test_sec_group-65665828 is attached to the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:49,021 - DEBUG - Agent: Security group ctest-test_sec_group-65665828 is attached to the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:49,125 - INFO - Validated that SG ctest-test_sec_group-65665828 is bound to VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:27:49,125 - INFO - Try deleting the security group ctest-test_sec_group-65665828 with back ref. 2025-08-06 08:27:49,125 - INFO - Deleting Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] 2025-08-06 08:27:49,145 - INFO - Delete when resource still referred: ['http://10.0.0.38:8082/virtual-machine-interface/3fb44529-7d9d-4bd3-8719-2570be3f0a0a', 'http://10.0.0.38:8082/virtual-machine-interface/5725cabf-182c-4978-b47a-93a3e1fc76b4'] 2025-08-06 08:27:49,145 - INFO - Not able to delete the security group with back ref as expected 2025-08-06 08:27:49,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:27:49,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.20.100.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 08:27:49,145 - DEBUG - ping -s 56 -c 3 -W 1 54.20.100.4 2025-08-06 08:28:27,346 - DEBUG - sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-79572474-6274 PING 54.20.100.4 (54.20.100.4) 56(84) bytes of data. --- 54.20.100.4 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2002ms 2025-08-06 08:28:27,346 - WARNING - Ping to IP 54.20.100.4 from VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 failed 2025-08-06 08:28:27,346 - INFO - Ping FAILED as expected 2025-08-06 08:28:27,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:28:27,347 - DEBUG - Running remote_cmd, Cmd : rm -f testfile;ls -la;nc -ll -p 10000 > testfile, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 08:28:27,347 - DEBUG - nohup rm -f testfile;ls -la;nc -ll -p 10000 > testfile & 2025-08-06 08:29:09,010 - DEBUG - sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-79572474-9440 total 132 drwxr-xr-x 11 ubuntu ubuntu 4096 Dec 29 2017 . drwxr-xr-x 3 root root 4096 Jan 4 2013 .. -rw------- 1 ubuntu ubuntu 2689 Dec 29 2017 .bash_history -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 2012 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 2012 .bashrc drwx------ 2 ubuntu ubuntu 4096 Jan 9 2013 .cache -rwxrwxr-x 1 ubuntu ubuntu 1431 Feb 5 2015 flow_test_pktgen.sh drwxr-xr-x 2 ubuntu ubuntu 4096 Jan 9 2013 .fontconfig drwxrwxr-x 2 ubuntu ubuntu 4096 Jan 9 2013 .fvwm drwxrwxr-x 3 ubuntu ubuntu 4096 Nov 29 2016 .jenkins -rw------- 1 ubuntu ubuntu 52 Jul 2 2014 .lesshst drwx------ 4 ubuntu ubuntu 4096 Jan 9 2013 .mozilla -rwxrwxr-x 1 ubuntu ubuntu 1378 Jun 27 2014 pktgen_new.sh -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 2012 .profile drwxr-xr-x 2 ubuntu ubuntu 4096 Jun 27 2014 scr drwx------ 2 ubuntu ubuntu 4096 Feb 3 2015 .ssh -rw-r--r-- 1 ubuntu ubuntu 0 Jan 9 2013 .sudo_as_admin_successful drwxr-xr-x 2 ubuntu ubuntu 4096 Jun 27 2014 traffic drwxr-xr-x 4 root root 4096 Jun 27 2014 traffic-1.0 -rw-rw-r-- 1 ubuntu ubuntu 16361 Jan 9 2015 traffic-1.0.tar.gz -rw------- 1 root root 4695 Dec 17 2017 .viminfo -rw------- 1 ubuntu ubuntu 152 Jul 2 2014 .Xauthority -rw------- 1 ubuntu ubuntu 29828 Jan 9 2013 .xsession-errors 2025-08-06 08:29:09,010 - DEBUG - Running remote_cmd, Cmd : nc -ll 10000 > testfile, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 08:29:09,011 - DEBUG - nohup nc -ll 10000 > testfile & 2025-08-06 08:29:09,537 - DEBUG - sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-79572474-9440 2025-08-06 08:29:09,538 - DEBUG - Running remote_cmd, Cmd : dd bs=100 count=1 if=/dev/zero of=testfile;nc -p 10001 54.20.100.4 10000 < testfile, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 08:29:09,538 - DEBUG - dd bs=100 count=1 if=/dev/zero of=testfile;nc -p 10001 54.20.100.4 10000 < testfile 2025-08-06 08:29:10,081 - DEBUG - sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-79572474-6274 1+0 records in 1+0 records out 100 bytes (100 B) copied, 0.000718859 s, 139 kB/s 2025-08-06 08:29:10,081 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 08:29:10,082 - DEBUG - ls -l testfile 2025-08-06 08:29:10,457 - DEBUG - -rw-r--r-- 1 root root 100 Aug 6 08:29 testfile 2025-08-06 08:29:10,457 - INFO - File transfer verification for file size 100 passed on the VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 2025-08-06 08:29:10,457 - DEBUG - Replace all the rules of this security group ctest-test_sec_group-65665828 with the new rules 2025-08-06 08:29:10,457 - DEBUG - [{'protocol': '1', 'dst_addresses': [{'subnet': {'ip_prefix': '54.20.100.0', 'ip_prefix_len': '26'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'src_addresses': [{'security_group': 'local'}]}, {'protocol': '1', 'src_addresses': [{'subnet': {'ip_prefix': '54.20.100.0', 'ip_prefix_len': '26'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'dst_addresses': [{'security_group': 'local'}]}] 2025-08-06 08:29:10,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 08:29:10,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.20.100.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 08:29:10,540 - DEBUG - ping -s 56 -c 3 -W 1 54.20.100.4 2025-08-06 08:29:13,098 - DEBUG - sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-79572474-6274 PING 54.20.100.4 (54.20.100.4) 56(84) bytes of data. 64 bytes from 54.20.100.4: icmp_req=1 ttl=64 time=3.40 ms 64 bytes from 54.20.100.4: icmp_req=2 ttl=64 time=1.47 ms 64 bytes from 54.20.100.4: icmp_req=3 ttl=64 time=1.53 ms --- 54.20.100.4 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.477/2.141/3.408/0.896 ms 2025-08-06 08:29:13,099 - INFO - Ping to IP 54.20.100.4 from VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 passed 2025-08-06 08:29:13,099 - INFO - Removing the security group from VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 2025-08-06 08:29:13,348 - INFO - Deleting VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 2025-08-06 08:29:13,431 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:29:13,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:29:13,441 - DEBUG - VM ID cf477591-0787-4fd6-b0bf-d7502143527f of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is still found in API Server 2025-08-06 08:29:15,442 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:29:15,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:29:15,450 - DEBUG - Response Code: 404 2025-08-06 08:29:15,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:29:15,457 - DEBUG - Response Code: 404 2025-08-06 08:29:15,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf477591-0787-4fd6-b0bf-d7502143527f 2025-08-06 08:29:15,464 - DEBUG - Response Code: 404 2025-08-06 08:29:15,464 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is fully removed in API-Server 2025-08-06 08:29:15,623 - DEBUG - Skipping VM-deletion-check in nova db since mysql_token is not found 2025-08-06 08:29:15,818 - DEBUG - VM route 54.20.100.4 has been marked for discard in VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 of compute 10.0.0.49 2025-08-06 08:29:15,824 - DEBUG - Validated that vrouter 10.0.0.49 does not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:15,824 - DEBUG - Validated that vrouter 10.0.0.57 does not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:15,824 - INFO - Validated that all vrouters do not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:15,824 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is removed in Compute, and routes are removed in all compute nodes 2025-08-06 08:29:16,096 - INFO - Routes for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-94401354 is removed in all control-nodes 2025-08-06 08:29:16,096 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-2:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:29:16,151 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-2?flat 2025-08-06 08:29:16,189 - DEBUG - VM cf477591-0787-4fd6-b0bf-d7502143527f is not present in vrouter an-jenkins-deploy-platform-ansible-os-3761-2 uve 2025-08-06 08:29:16,189 - DEBUG - Verifying if the vm interface deleted from vroter uve... 2025-08-06 08:29:16,189 - DEBUG - interface for vm cf477591-0787-4fd6-b0bf-d7502143527f deleted from vrouter uve ... 2025-08-06 08:29:16,189 - DEBUG - Deleted interface not in error interface list ... 2025-08-06 08:29:16,189 - DEBUG - Validated that VM cf477591-0787-4fd6-b0bf-d7502143527f is removed in Vrouter UVE 2025-08-06 08:29:16,189 - DEBUG - Verifying through opserver in 10.0.0.48 2025-08-06 08:29:16,189 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat 2025-08-06 08:29:16,222 - DEBUG - cf477591-0787-4fd6-b0bf-d7502143527f BM not in default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 uve 2025-08-06 08:29:16,222 - DEBUG - Validated that VM cf477591-0787-4fd6-b0bf-d7502143527f is not present in the VN UVE 2025-08-06 08:29:16,222 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.48 2025-08-06 08:29:16,222 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machines 2025-08-06 08:29:16,238 - INFO - cf477591-0787-4fd6-b0bf-d7502143527f vm uve deleted from opserver 2025-08-06 08:29:16,238 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.254 2025-08-06 08:29:16,239 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-machines 2025-08-06 08:29:16,253 - INFO - cf477591-0787-4fd6-b0bf-d7502143527f vm uve deleted from opserver 2025-08-06 08:29:16,253 - DEBUG - Verifying the cf477591-0787-4fd6-b0bf-d7502143527f virtual network link through opserver 10.0.0.38 2025-08-06 08:29:16,253 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machines 2025-08-06 08:29:16,269 - INFO - cf477591-0787-4fd6-b0bf-d7502143527f vm uve deleted from opserver 2025-08-06 08:29:16,269 - INFO - Validated that VM cf477591-0787-4fd6-b0bf-d7502143527f is removed from Opserver 2025-08-06 08:29:16,269 - INFO - Removing the security group from VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:29:16,504 - INFO - Deleting VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 2025-08-06 08:29:16,585 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:29:16,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:16,596 - DEBUG - VM ID 63538129-6625-48d2-82b1-b0cf62dc65b5 of VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is still found in API Server 2025-08-06 08:29:18,597 - DEBUG - Verifying in api server 10.0.0.38 2025-08-06 08:29:18,597 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:18,608 - DEBUG - Response Code: 404 2025-08-06 08:29:18,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:18,617 - DEBUG - Response Code: 404 2025-08-06 08:29:18,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:18,625 - DEBUG - Response Code: 404 2025-08-06 08:29:18,625 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is fully removed in API-Server 2025-08-06 08:29:18,788 - DEBUG - Skipping VM-deletion-check in nova db since mysql_token is not found 2025-08-06 08:29:18,846 - DEBUG - Validated that vrouter 10.0.0.49 does not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:18,864 - DEBUG - Validated that vrouter 10.0.0.57 does not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:18,864 - INFO - Validated that all vrouters do not have VMs route for VN default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:18,864 - INFO - VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is removed in Compute, and routes are removed in all compute nodes 2025-08-06 08:29:19,117 - INFO - Routes for VM ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-62745509 is removed in all control-nodes 2025-08-06 08:29:19,117 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-1:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:29:19,171 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-1?flat 2025-08-06 08:29:19,218 - DEBUG - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is still present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:29:19,218 - DEBUG - Verifying if the vm interface deleted from vroter uve... 2025-08-06 08:29:19,218 - DEBUG - interface for vm 63538129-6625-48d2-82b1-b0cf62dc65b5 deleted from vrouter uve ... 2025-08-06 08:29:19,218 - DEBUG - Deleted interface not in error interface list ... 2025-08-06 08:29:22,219 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-1:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:29:22,281 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-1?flat 2025-08-06 08:29:22,336 - DEBUG - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is still present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:29:22,336 - DEBUG - Verifying if the vm interface deleted from vroter uve... 2025-08-06 08:29:22,336 - DEBUG - interface for vm 63538129-6625-48d2-82b1-b0cf62dc65b5 deleted from vrouter uve ... 2025-08-06 08:29:22,336 - DEBUG - Deleted interface not in error interface list ... 2025-08-06 08:29:25,337 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/generator/an-jenkins-deploy-platform-ansible-os-3761-1:Compute:contrail-vrouter-agent:0?flat 2025-08-06 08:29:25,387 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/vrouter/an-jenkins-deploy-platform-ansible-os-3761-1?flat 2025-08-06 08:29:25,433 - DEBUG - VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is not present in vrouter an-jenkins-deploy-platform-ansible-os-3761-1 uve 2025-08-06 08:29:25,433 - DEBUG - Verifying if the vm interface deleted from vroter uve... 2025-08-06 08:29:25,433 - DEBUG - interface for vm 63538129-6625-48d2-82b1-b0cf62dc65b5 deleted from vrouter uve ... 2025-08-06 08:29:25,433 - DEBUG - Deleted interface not in error interface list ... 2025-08-06 08:29:25,433 - DEBUG - Validated that VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is removed in Vrouter UVE 2025-08-06 08:29:25,433 - DEBUG - Verifying through opserver in 10.0.0.48 2025-08-06 08:29:25,434 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675?flat 2025-08-06 08:29:25,464 - DEBUG - 63538129-6625-48d2-82b1-b0cf62dc65b5 BM not in default-domain:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474:ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 uve 2025-08-06 08:29:25,464 - DEBUG - Validated that VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is not present in the VN UVE 2025-08-06 08:29:25,464 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.48 2025-08-06 08:29:25,464 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-machines 2025-08-06 08:29:25,489 - DEBUG - No links retuned for 63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:25,489 - INFO - 63538129-6625-48d2-82b1-b0cf62dc65b5 vm uve deleted from opserver 2025-08-06 08:29:25,489 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.254 2025-08-06 08:29:25,489 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-machines 2025-08-06 08:29:25,510 - DEBUG - No links retuned for 63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:25,510 - INFO - 63538129-6625-48d2-82b1-b0cf62dc65b5 vm uve deleted from opserver 2025-08-06 08:29:25,510 - DEBUG - Verifying the 63538129-6625-48d2-82b1-b0cf62dc65b5 virtual network link through opserver 10.0.0.38 2025-08-06 08:29:25,510 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-machines 2025-08-06 08:29:25,532 - DEBUG - No links retuned for 63538129-6625-48d2-82b1-b0cf62dc65b5 2025-08-06 08:29:25,532 - INFO - 63538129-6625-48d2-82b1-b0cf62dc65b5 vm uve deleted from opserver 2025-08-06 08:29:25,532 - INFO - Validated that VM 63538129-6625-48d2-82b1-b0cf62dc65b5 is removed from Opserver 2025-08-06 08:29:25,533 - INFO - Deleting VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 2025-08-06 08:29:25,723 - DEBUG - Response for deleting network () 2025-08-06 08:29:25,724 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/dc6807de-ef56-4c87-ad79-0f0b0ea8f6c6 2025-08-06 08:29:25,732 - DEBUG - Response Code: 404 2025-08-06 08:29:25,732 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:29:25,743 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:29:25,784 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:29:25,908 - INFO - Validated that VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is not found in API Server 2025-08-06 08:29:25,920 - DEBUG - VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is not present in Agent 10.0.0.49 2025-08-06 08:29:25,934 - DEBUG - VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is not present in Agent 10.0.0.57 2025-08-06 08:29:25,934 - INFO - Validated that VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 is not in any agent 2025-08-06 08:29:25,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-SecurityGroupBasicRegressionTests1_contrail-79572474-15400675 info 2025-08-06 08:29:25,982 - INFO - Deleting Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] 2025-08-06 08:29:26,086 - INFO - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1_contrail-79572474', 'ctest-test_sec_group-65665828'] deleted successfully. 2025-08-06 08:29:26,086 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:29:26,099 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:29:26,114 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:29:26,221 - INFO - Security group ctest-test_sec_group-65665828 removed from the API Server 2025-08-06 08:29:26,221 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 08:29:26,233 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 08:29:26,255 - DEBUG - Requesting: http://10.0.0.48:8082/project/66435125-60a0-433c-bcca-9189bb5d3562 2025-08-06 08:29:26,364 - DEBUG - Requesting: http://10.0.0.48:8082/access-control-lists 2025-08-06 08:29:26,381 - DEBUG - ACLs for Security group ctest-test_sec_group-65665828 removed from the API Server 2025-08-06 08:29:26,389 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.48 2025-08-06 08:29:26,396 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.48 2025-08-06 08:29:26,404 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.254 2025-08-06 08:29:26,411 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.254 2025-08-06 08:29:26,420 - INFO - security group ctest-test_sec_group-65665828 removed from Control-node 10.0.0.38 2025-08-06 08:29:26,427 - DEBUG - Security group ctest-test_sec_group-65665828 ACLs removed from the control node 10.0.0.38 2025-08-06 08:29:26,427 - INFO - Validated that SG ctest-test_sec_group-65665828 is not in control nodes 2025-08-06 08:29:27,705 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 08:29:27,705 - INFO - END TEST : test_sec_group_basic : PASSED[0:02:57]
2025-08-06 08:29:27,705 - INFO - -------------------------------------------------------------------------------- 2025-08-06 08:29:28,474 - INFO - Deleted project: ctest-SecurityGroupBasicRegressionTests1_contrail-79572474, ID : 66435125-60a0-433c-bcca-9189bb5d3562